Knowledgebase

Portal Home > Knowledgebase > Articles Database > No ssh to server using VPN. Only martians!!!


No ssh to server using VPN. Only martians!!!




Posted by AWalrus, 07-02-2010, 06:18 PM
I'm trying to get a VPN to work with my racked servers. I have a Netgear FVS338 router that implements the VPN. The servers have eth0 for the internet (not connected to the router), eth1 for an internal LAN (which is connected to the router), and a management port which is also connected to the internal LAN. Everything works with the VPN, except I can't ssh to eth1 interface. The ssh hangs and the console of the server emits some martians: martian source 10.0.2.111 from 192.168.0.11, on dev eth1 On the other hand, I can ssh to the management port on the internal LAN through the VPN. This works fine. I'm running Centos 5. If I connect my laptop directly to the internal LAN, I can of course ssh into eth1. The kernel on my server doesn't like that my laptop IP is 192.168.0.11 when connecting through the VPN (using VPN Tracker for an IPSec-based VPN) and the internal LAN is 10.0.2.0/24. I've tried just about everything with iptables to let this VPN traffic through to my server, but nothing I've tried makes a difference. Any ideas of how to fix this? My idea is not to have ssh on the internet port (eth0) and only ssh to the server through the VPN which should be much more secure.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
netstat -an or -tln (Views: 539)
Block based on domain (Views: 619)
PositiveSSL (Views: 555)


Language:

Contact us