/proc/sys/net/ipv4/ip_forward iptables -t nat -F iptables -t nat -A ..."> /proc/sys/net/ipv4/ip_forward iptables -t nat -F iptables -t nat -A ..." />

maškaráda / NAT / překlad adres



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

iptables -t nat -F
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

dát třeba na konec /etc/rc.d/rc.local
Last update:
2006-06-19 15:50
Author:
Daniel
Revision:
1.0
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.