Accessing electronic resources from outside the corporate network using pfSense VPN
-
Dear Users,
my boss asked me to implemented a proxy service in order to allow corporate users to access electronic resources, subscribed by our company, also from outside the corporate network (you know, users can work both from office and from home).
At this moment, only users from office can reach the electronic resources since the corporate public IP has been authorised by the provider.Since I read that proxy server (EZproxy in my case) is not so secure, I would like to follow NetGate users suggestion: "use the VPN".
So, in order to test this solution, I would like to use an existing VPN that we daily use to connect to some specific corporate servers from home.
Currently, the VPN client installed on my PC is routing only traffic to a specific corporate LAN (let's say 192.168.10.0/24). All other traffic is not router through the VPN tunnel.Now, for testing purpose, I would like to reach the electronic resources provider site using the same VPN.
In other words, I would like to route through the VPN tunnel the following traffic:- all the traffic from my PC to 192.168.10.0/24 network (current working settings);
- all the traffic from my PC to a.example.com;
- all the traffic from my PC to b.example.com;
- all the traffic from my PC to link.example.com;
where a.example.com, b.example.com and link.example.com are the electronic resources sites.
All the other traffic should be routed through my WiFi router without impacting the VPN tunnel/server.
Could you please help me to understand if I'm on the right way and if I can accomplish this task using pfSense v.2.6
Thank you in advance,
Mauro -
@mauro-tridici What is the vpn you use in corp? That is where you really need to make adjustments on what comes down the vpn from a client and if they are allowed to go there.
Lets say you routed that stuff down the corp vpn connection you have - doesn't mean the vpn server your connecting to is going to allow it, or even if knows how to route to where you want to go, etc.
But yes pfsense could be setup to provide vpn into a corp network - and allow clients to go anywhere in the corp network that the pfsense is able to get to.
-
@mauro-tridici said in Accessing electronic resources from outside the corporate network using pfSense VPN:
also from outside the corporate network (you know, users can work both from office and from home).
Your corporate office must approve as well as configured that for you...however, as John said, it's possible.
-
Thank you for your reply, guys.
Just a question about this step:
*"I would like to route through the VPN tunnel the following traffic:
all the traffic from my PC to 192.168.10.0/24 network (current working settings);
all the traffic from my PC to a.example.com;"*How can I route specific HTTP/S URL through the VPN tunnel?
I know that I can translate the DNS name in a IP address, but I would like to know if there is an alternative way to do it.Many thanks again,
Mauro -
@mauro-tridici you can not route a fqdn, you would route the IP or network that IP resides on.