Iptables Problem please help!
|
15th Jul, 2013, 02:26 PM
Post: #2
|
|||
|
|||
RE: Iptables Problem please help!
(11th Jul, 2013 05:24 AM)Trax Wrote: But wenn i make : iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE even if you MASQuerade or SNAT the one public IP, still the packets are going through "forward" chain so this one needs to be allowed like: iptables -A forward -i wlan0 -o eth0 -j ACCEPT (don't know if I still remember the syntax right). also, ipv4 forwarding needs to be activated on the xbian via /proc - or sysctl command (sysctl -w net.ipv4.ip_forward=1). check /etc/sysctl.conf … it is disabled by default. so three checks to go: 1) forwarding enabled in kernel 2) forwarding enabled for the specific interfaces and chains in iptables 3) proper MASQ, or SNAT, or DNAT set. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Iptables Problem please help! - Trax - 11th Jul, 2013, 05:24 AM
RE: Iptables Problem please help! - mk01 - 15th Jul, 2013 02:26 PM
|