Comment on How to make GRE tunnel iptables port redirect on Linux by Johnny.
Hi.
help me with an opinion.
when i launch service iptables stop
connection between 2 windows vpn works
when i start .. connection drop..
so in general my rules look like
# Clear rules
iptables -t filter -F
iptables -t filter -X
echo – Clear rules : [OK]
# Don't break established connections
iptables -A INPUT -m state –state RELATED,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -m state –state RELATED,ESTABLISHED -j ACCEPT
echo – established connections : [OK]
# Loopback
iptables -t filter -A INPUT -i lo -j ACCEPT
iptables -t filter -A OUTPUT -o lo -j ACCEPT
echo – Loopback : [OK]
#routing
iptables –table nat –append POSTROUTING –out-interface eth1 -j MASQUERADE
iptables –append FORWARD –in-interface eth0 -j ACCEPT
and some filters for w00tw00t
I dont have privat ips .. only Public
and I don#t know to make an working rule for windows vpn
Can u help me ? thanks