Connecting to VPN server drops company network
Posted: Mon Oct 08, 2018 1:14 pm
Hi all,
I'm running a client on a computer within the company network and would like to access a server on my home network where I'm running the vpn server.
Home range: 192.168.1.X / 255.255.255.0 / Gateway: 192.168.1.1 / Server is running on 192.168.1.105
Company range 10.23.X.X / 255.255.254.0 / Gateway: 10.23.112.44
I've tried these steps:
Leave everything default: Connect -> Unable to get IP from dhcp server (Fair enough)
Change tcp/ip setting for virtual adapter on client. Set a fixed IP matching the home network (192.168.1.160) but do not set a gateway
-> Company network still works, unable to ping anything on home network
Same but add a gateway (tried both with 192.168.1.1 which is the actual gateway or 192.168.1.105 which is the vpn server)
-> Unable to ping anything in company network, unable to ping anything on home network
Switch ip settings back to dhcp on the client virtual adapter and enable secureNAT on the server with default settings and dhcp enabled.
Virtual host network interface settings on server: IP: 192.168.30.1 and the default dhcp range
-> When connecting the client gets assigned ip 192.168.30.10 and is unable to ping anything on the home network, but the company network works fine.
Added the default gateway for the SecureNAT settings to 192.168.30.1
-> Home network now works and I can ping 192.168.1.X ip's but the second I connect I lose connection to the company network.
This is where my networking knowledge ends and I'm stuck.
How do I enable settings so that the company network keeps functioning with its gateway and dns servers but also allows me to connect to ip's on the home network (ip only, no dns needed)
I'm running a client on a computer within the company network and would like to access a server on my home network where I'm running the vpn server.
Home range: 192.168.1.X / 255.255.255.0 / Gateway: 192.168.1.1 / Server is running on 192.168.1.105
Company range 10.23.X.X / 255.255.254.0 / Gateway: 10.23.112.44
I've tried these steps:
Leave everything default: Connect -> Unable to get IP from dhcp server (Fair enough)
Change tcp/ip setting for virtual adapter on client. Set a fixed IP matching the home network (192.168.1.160) but do not set a gateway
-> Company network still works, unable to ping anything on home network
Same but add a gateway (tried both with 192.168.1.1 which is the actual gateway or 192.168.1.105 which is the vpn server)
-> Unable to ping anything in company network, unable to ping anything on home network
Switch ip settings back to dhcp on the client virtual adapter and enable secureNAT on the server with default settings and dhcp enabled.
Virtual host network interface settings on server: IP: 192.168.30.1 and the default dhcp range
-> When connecting the client gets assigned ip 192.168.30.10 and is unable to ping anything on the home network, but the company network works fine.
Added the default gateway for the SecureNAT settings to 192.168.30.1
-> Home network now works and I can ping 192.168.1.X ip's but the second I connect I lose connection to the company network.
This is where my networking knowledge ends and I'm stuck.
How do I enable settings so that the company network keeps functioning with its gateway and dns servers but also allows me to connect to ip's on the home network (ip only, no dns needed)