Re: activating ipchains & ip masqurading ...
Cam Ellison wrote:
> * faisal gillani (fasi_74@yahoo.com) wrote:
> > i have installed debian 2.2 in my server now i want to
> > activete ipchains & ip masqurading on it ...
> > how should i do this ?
> >
> >
> In a phrase, RTFM. Want more detail? Firewall HOWTO:
> /usr/share/doc/HOWTO/en-html/Firewall-HOWTO.html
Well, seems that he wants just ip-masquerading, then i would recommend
install a newer kernel (2.4.x) and do it with iptables. I have a simple
script to activate ip-masquerading and let the LAN connect to the internet:
wotan:~ # cat masquerading
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1 >/proc/sys/net/ipv4/ip_forward
If I understood him false and he wants more than just IP-Masquerading, then
the firewall-HOWTO should be helpful
--
Viele denken, sie sind frei, weil sie machen koennen, was sie
wollen, und merken doch nicht, dass sie ihre Diktatur in sich
tragen.
[Ernesto Cardenal]
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: