Hi All,
I have a issues connecting to machines on my LAN via SSH over OVPN tun:
VPN Server LAN: 192.168.15.0/24
Router: 192.168.15.1 (with static route for 10.8.0.0 to 192.168.15.200 added)
OVPN Server: 192.168.15.200
OVPN tun subnet: 10.8.0.0
LAN Client trying to ssh into: 192.168.15.108
The OVPN server is behind the router, so I have a static route 10.8.0.0. to 192.168.15.200 (server IP) and I think routing is
OK since I can ping the machines I want to connect to when connected to the VPN server.
I can SSH into the server when connected to the VPN.
I can SSH into other machines on the LAN when I am connected to the LAN, but not when connected to the LAN via the VPN.
server.conf
local 192.168.15.200
mode server
tls-server
port 1194
# TCP or UDP server?
;proto tcp
proto udp
dev tun
ca ca.crt
cert geekhelpserver.crt
key geekhelpserver.key # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.15.0 255.255.255.0"
client-to-client
keepalive 10 120
tls-auth ta.key 0 # This file is secret
cipher BF-CBC # Blowfish (default)
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
Also here is a tcpdump for the machine I am trying to access:
https://www.dropbox.com/s/oxiyew4zydnwzre/ssh
Here is a tcpdump for the VPN server:
https://www.dropbox.com/s/7n7cwkhyfu064as/sshserver
IPtables for server:
# Generated by iptables-save v1.4.12 on Sat Jan 4 14:03:53 2014
*filter
:INPUT ACCEPT [41:9031]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [45:5355]
COMMIT
# Completed on Sat Jan 4 14:03:53 2014
IPtables for machine trying to access:
# Generated by iptables-save v1.4.14 on Sat Jan 4 13:59:49 2014
*filter
:INPUT ACCEPT [55:7676]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [52:4186]
COMMIT
# Completed on Sat Jan 4 13:59:49 2014
Anyone able to help please?
Thanks in advance
-AL
😃