|
(view
this code in a separate window)
#!/bin/sh
# ip-up <interface> <myaddr> <daemon-pid> <local> <remote> <arg>
umask 022
PATH=/sbin:/bin:/usr/sbin:/usr/bin
# route packets for 192.168.2.0/24 to our peer
route add -net 192.168.2.0/24 gw $5
# or let gated know
# gdc interface
# no logging. feel free to add, if necessary.
exit 0
|