Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/sh
- # Configurable options:
- echo > 1 /proc/sys/net/ipv4/ip_forward
- /sbin/modprobe ip_nat_ftp
- /sbin/modprobe ip_conntrack_ftp
- #insmod /lib/modules/2.6.18-4-686/kernel/net/ipv4/ipip.ko
- #insmod /lib/modules/2.6.18-4-686/kernel/net/ipv4/ip_gre.ko
- start ()
- {
- ip tunnel add netFB mode gre remote 89.X.X.X local 89.X.X.X ttl 255
- ip link set netFB up
- ip addr add 192.168.1.4 dev netFB
- ip route add 192.168.2.0/24 dev netFB
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement