nathancahill
nathancahill

Reputation: 10850

VPN on server for certain outgoing connections

I have a server running openvpn for outgoing connections. However, once I start openvpn, I lose SSH, HTTP access to the server's IP. This is expected I guess, but is there a way to circumvent the VPN connection when connecting to these ports?

Upvotes: 0

Views: 613

Answers (1)

Eugen Rieck
Eugen Rieck

Reputation: 65274

This is a routing problem: You have set OpenVPN to replace the default router (handling "normal" traffic) with the OpenVPN-Connection's. If you configure OpenVPN to use static routes, your normal traffic will again work as expected.

Upvotes: 3

Related Questions