nucleus
What are my options....
I tunnel home from my corporate network which has resources all across the 172.16.x.x/20 subnet. I need to be able to access these resources (some port 80) while being connected to my home server. My goal is to access network resources on my home network along with tunneling my web browsing at the same time being able to traverse my corporate LAN across subnets and lookup those hosts by DNS.
What would I need to alter in my server/client configs?
-Don't push DNS and gateway I'm sure, but from there I'm not sure what my best options would be? Push direct routes to my network hosts? What about web - a proxy?
Thanks for the help!
nucleus
Ok... some poking around has led me to the "net_gateway" command which should take care of my corporate subnet routing. I'll have to test this the next time I'm in the office.
Now what about DNS? Setting up a SSH proxy is not an issue, but can I force DNS for web hosts over it?
nucleus
I was in the office today, but found the net_gateway command was not able to route an entire class network.
As stated earlier, I need to route around a 172.16.x.x/20 network.
However, when I added:
route 172.16.0.0 255.255.240.0 net_gateway
it didn't work.
To make it work I had to add a route for each individual subnet, such as:
route 172.16.16.0 255.255.240.0 net_gateway
route 172.16.32.0 255.255.240.0 net_gateway
route 172.16.48.0 255.255.240.0 net_gateway
etc.
Is that normal behavior?
maikcat
hi there,
routing 172.16.0.0/20 meaning you route traffic for:
172.16.0.1 - 172.16.15.254 address range...
what exactly are you trying to do?
Michael.
nucleus
Yeah, you're right.
I was trying to use a single line in my config file to route all the networks available in 172.16.x.x with a subnet mask of 255.255.240.0 out of my local adapter. Is it possible?
maikcat
you can always try a /16 route... 😉
172.16.0.0/16 aka 255.255.0.0
Michael.