piraguasu a écrit :
# # On my LAN iptables -A FORWARD -i eth1 -s $MY_LAN -d $REMOTE_LAN -o tun0 -j ACCEPT iptables -A FORWARD -i tun0 -s $REMOTE_LAN -d $MY_LAN -o eth1 -j ACCEPT # # On remote LAN iptables -A FORWARD -i eth1 -s $REMOTE_LAN -d $MY_LAN -o tun0 -j ACCEPT iptables -A FORWARD -i tun0 -s $MY_LAN -d $REMOTE_LAN -o eth1 -j ACCEPT
What happens if you remove the -s and -d options ? No SNAT/MASQUERADE on the tunnel ? Could it be that the tunnel packets are dropped on the WAN interface ? What kind of tunnel protocol is it ?
The packets can't gain access to tunnel tcpdump say me.
Can you explain this please ? My tcpdump only shows packets which enter and leave a network interface, it does not tell anything about getting access or not.