route problem

Andre Goree andre at drenet.net
Mon May 20 20:54:28 UTC 2013


On 2013-05-20 4:19 pm, Pol Hallen wrote:
> Try:
> route add 192.168.1.0/24 192.168.2.250
> 
> does not run :-(
> 
> Pol

Interesting.  I had a similar issue I got around with a similar route 
addition, though I was going from a LAN PC through my server that was 
running openvpn out to a remotely connected client.

What was the error that the route command failed with?  I could have the 
syntax wrong (may need a "-net" in there), but I'm sure I used almost 
the exact same thing to solve my issue -- in my case, I ran 'route add 
10.0.1.0/24 10.0.0.98', where '10.0.1.0/24' is the openvpn client 
network and '10.0.0.98' is the LAN interface of the openvpn server.

If you don't mind could you post the output of ifconfig from both boxes?

-- 
Andre Goree
-=-=-=-=-=-
Email     - andre at drenet.net
Website   - http://blog.drenet.net
PGP key   - http://www.drenet.net/0x83ADAAAB.asc
-=-=-=-=-=-


More information about the freebsd-questions mailing list