anaboliks 0 Posted ... Hi there, I was wondering if someone would have a quick answer for me. I am not very familiar with openvpn. I am running a Linux (Gentoo) machine, with a ssh deamon on it. I have openvpn, and I used the configuration file from here (access without client). Everything works fine, however what is happening is openvpn redirects all trafic through the vpn, and when I try to ssh to my actuall ip address (from outside the local network) the ssh port is closed. At first i thought it was my iptables, however after running openvpn without any iptables rules, and then enabling all the rules but not on the vpn, my ssh server is fine. So the question is, is there an quick way to set openvpn to rerout all the trafic except for the ssh port? Thanks, Quote Share this post Link to post
Staff 9972 Posted ... Hello! If you wish to make the ssh daemon reachable from the Internet outside the tunnel, you need to bind it to the physical server interface (for example eth0). On the contrary, if you wish to run the ssh daemon behind the VPN, just forward remotely a port on our system and make sshd listen to that port on your tun interface. Your sshd will be reachable from the Internet on : Kind regards Quote Share this post Link to post