See subnets with OpenVpn/IpTables
Hi everyone,
I've just setup an OpenVPN server at my hosting company and I'm trying to tunnel all my LAN traffic through the server but I can't see the computers on the other subnet. OpenVPN is routed (tun) Server Public IP : 91.121.19.??/255.255.255.0 Server VPN IP : 10.66.67.1/10.66.67.2 255.255.255.0 Lan Setup: WRT54GL (OpenWRT) Router as OpenVPN Client: - Public IP (my provider) : 88.163.41.??/255.255.255.0 gw 88.163.41.254 - LAN IP : 10.66.66.1/255.255.255.0 - VPN IP : 10.66.67.6/10.66.67.5 255.255.255.0 (automatically set) Test computer: - LAN IP : 10.66.66.11/255.255.255.0 gw 10.66.66.1 I successfully connect my client (the router) and the server with OpenVPN and I succesfully ping each other with their VPN IP addresses (10.66.67.X) but I can't reach the Server from the test computer and I can't ping the router LAN IP from the Server. I suspect IPTable on the Router blocking some things but I can't see what is the problem Could you please tell me which routes/gateways I should have on both sides and the IPTables rules on the OpenVPN Client (the router). I'm completely lost. Thanks a lot for your help. |
All times are GMT -5. The time now is 05:43 PM. |