Hi,
I'm totally newbie. I just tried to configure my first VPN connection between my laptop and Home network.
Laptop is connected to Internet outside HomeLAN. I try to estasblish a VPN pipe. The idea is to connect my home LAN through Company Proxy server which allows only ports like 80-90, 8080 etc
My homenewtwork is behind router/adsl modem 192.168.1.1/24 and behind that is laptop 192.168.1.99 which OpenVPN server runs
OpenVPN IP addresses:
-- client 10.8.0.2
-- server 10.8.0.1 (the laptop with 192.168.1.99)
Okay...connection is established and I can ping client to server 10.8.0.1.
But I can't ping 192.168.1.x network inside Home LAN.
There needs to be route defined, but how can I do that. I have tried everything...and no ping.
I want to use just static.key...its so much simplier.
Client config
remote xxxx.no-ip.org
port 86
dev tap
proto tcp-client
#float
ifconfig 10.8.0.2 255.255.255.0
secret static.key
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
push "route 192.168.1.0 255.255.255.0" <--?? doesn't work
Server
dev tap
port 86
proto tcp-server
float
#comp-lzo
#ifconfig tap0 0.0.0.0 promisc up
secret static.key
ifconfig 10.8.0.1 255.255.255.0
#route 10.8.0.0 255.255.0.0 192.168.1.1 <no idea of this?
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
I tried to follow instructions from here
hxxp://openvpn.net/index.php/open-source/documentation/miscellaneous/78-static-key-mini-howto.html
Server configuration file
dev tun
ifconfig 10.8.0.1 10.8.0.2 <---this doesn't make any sense
secret static.key
See the IP confic after start
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 10.8.0.2.
Subnet Mask . . . . . . . . . . . : 10.8.0.2
Default Gateway . . . . . . . . . :
So I guess the correct command should be
ifconfig 10.8.0.1 255.255.255.0
Please any help appreciated.
Thanks a lot,
Mark
- Individual Applications
Protect
Filter
Perform
Connect
Add-Ons
- Software Packages
- Complete Appliances


LinkBack URL
About LinkBacks



