Hi everyone,
I hope somebody can help me with my issue. I've spent a lot of days looking for a solution but nothing has worked.
I have a OpenVPN server over linux debian and some clients with windows. There is a shorewall in OpenVPN server that helps to forward packets for squid proxy server and openvpn server. Last weekend the physical server shutdown and after turn on it again, the VPN is no longer work.
I have the next log martians:
Jan 17 08:39:42 SRVFWUIO kernel: [ 1242.758282] martian source 192.168.0.5 from 192.168.10.6, on dev tun0
Jan 17 08:39:48 SRVFWUIO kernel: [ 1248.410769] martian source 192.168.0.5 from 192.168.10.6, on dev tun0
Where 192.168.0.0/24 is my LAN and 192.168.10.0/24 is my VPN segment.
The strange thing is when I try to reach the OpenVPN server from road, I get it to VPN gateway IP and LAN gateway IP, but when I try to reach any computer in the LAN from the road, I get those "martian source on dev tun0".
root@SRVFWUIO:~# sysctl -a | grep forwar
net.ipv4.conf.all.forwarding = 1
net.ipv4.conf.all.mc_forwarding = 0
net.ipv4.conf.default.forwarding = 1
net.ipv4.conf.default.mc_forwarding = 0
net.ipv4.conf.lo.forwarding = 1
net.ipv4.conf.lo.mc_forwarding = 0
net.ipv4.conf.eth3.forwarding = 1
net.ipv4.conf.eth3.mc_forwarding = 0
net.ipv4.conf.eth4.forwarding = 1
net.ipv4.conf.eth4.mc_forwarding = 0
net.ipv4.conf.eth2.forwarding = 1
net.ipv4.conf.eth2.mc_forwarding = 0
net.ipv4.conf.eth1.forwarding = 1
net.ipv4.conf.eth1.mc_forwarding = 0
net.ipv4.conf.eth0.forwarding = 1
net.ipv4.conf.eth0.mc_forwarding = 0
net.ipv4.conf.bond0.forwarding = 1
net.ipv4.conf.bond0.mc_forwarding = 0
net.ipv4.conf.lan0.forwarding = 1
net.ipv4.conf.lan0.mc_forwarding = 0
net.ipv4.conf.tun0.forwarding = 1
net.ipv4.conf.tun0.mc_forwarding = 0
As you can see, I have enabled ipv4 forwarding to all interfaces, I don't know what is happening. Please anybody help me.
Regards,
Di