Jump to content
Not connected, Your IP: 18.119.121.234
Sign in to follow this  
cappafalla

Hosting webserver or ssh but not via vpn

Recommended Posts

I am running linux have been using AirVPN with openvpn-client for a few days now and I am pleased with most things, however I want to host ssh-server and webserver and be able to reach them without going over the vpn.

How can I accomplish this?

I have been trying with ip route, iptables and source based routing as instructions from https://forums.openvpn.net/topic7163-15.html#p21267 but the problem seems to be that the rules matches when the vpn is disabled but not when it's enabled. So it seems like the problem is with some of the routes that are pushed from the server to the client. But I can't figure out which one of the routes. Anyone who have a clue or have trying to accomplish something similiar?

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...