route just 1 port only

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
ramonv2309
OpenVpn Newbie
Posts: 3
Joined: Sat Sep 28, 2013 2:44 pm

route just 1 port only

Post by ramonv2309 » Sat Sep 28, 2013 2:52 pm

Hi,

We are using AS for a year and it works great out of the box! We use it so employees can login to our private intranet from their homes.
This is intranet is served at port 8000.
What i would like is for openvpn clients just to route traffic for port 8000 though AS gateway and route all other traffic through 'default gateway'. So i know we will not route (and pay :) ) for traffic which has nothing to do with us. (like streaming, gaming, etc)

Is this possible without having to make difficult configurations on the clients but to let AS handle this through some kind of configuration scripts? All of our employees use the standard OpenVPN AS client.

ramonv2309
OpenVpn Newbie
Posts: 3
Joined: Sat Sep 28, 2013 2:44 pm

Re: route just 1 port only

Post by ramonv2309 » Sat Sep 28, 2013 3:18 pm

cant edit my post.

Forgot to mention.. this intranet server is not part of a private network.
It is reachable from public internet (but with a firewall with whitelisted IPs in front of it).

Both the VPN and this intranetserver are on public internet. But not in the same subnet or network.
So i can't use the function 'disable internet-traffic through VPN'.
Thats why i ended up thinking about the destination port routing.

ramonv2309
OpenVpn Newbie
Posts: 3
Joined: Sat Sep 28, 2013 2:44 pm

Re: route just 1 port only

Post by ramonv2309 » Mon Sep 30, 2013 1:16 pm

or route one destination ip (hostname) only?

Post Reply