Thursday, July 20, 2006

What Is Heather Harmon's Friend Brooke

IPMasquerading


IP Masquerading allows, among other things, to share a dial-up. Recipe specific to Debian and Ubuntu Server.



directory / etc / network / if-up.d
contains a series of scripts that run when the ifup command is invoked. Of course, it could very well create a local script (eg rc.local) that runs at the end of the boot, but the following method is more orthodox, if you will. In this directory, then create a firewall script and edit it like this: ; iptables-t nat-F iptables-t mangle-F iptables-t nat
- A POSTROUTING-o ppp0-j MASQUERADE

echo 1> / proc/sys/net/ipv4/ip_forward




0 comments:

Post a Comment