[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Newbie: VPN with virtual IP]


  • Subject: Re: [Openvpn-users] Newbie: VPN with virtual IP]
  • From: Doug Lytle <support@xxxxxxxxxxxxxxx>
  • Date: Tue, 13 Jan 2004 09:58:40 -0500


------------------------------------------------------------------------

Mark,

You can't use 10.100.1.1 in the 252 subnet mask. You have to start at 10.100.1.5

10.100.1.5 - 10.100.1.6 (Available network space for Server/Client)
10.100.1.7 (Broadcast)
10.100.1.8 (NA)
10.100.1.9 - 10.100.1.10(Available network space for Server/Client)
10.100.1.11 (Broadast)
10.100.1.12 (NA)

Doug

Hi

Bellow is a copy of my files the top is linux the bottom is windows but
they allow connection from any private ip to a public ip.

Hope this helps

Mark



Server/firewall (end with public ip)
local publicip
lport 5000
rport 5000
proto udp
dev tap
ifconfig 10.100.1.1 255.255.255.252
secret mark.key
ping-restart 60
ping-timer-rem
persist-tun
persist-key
ping 10
comp-lzo
verb 4
mute 10
user nobody
group nobody


Laptop ( end with private ip only) remote publicip lport 5000 rport 5000 proto udp dev tap ip-win32 netsh ifconfig 10.100.1.2 255.255.255.252 dev-node web-vpn secret web.txt ping-restart 60 ping-timer-rem persist-tun persist-key tun-mtu 1500 tun-mtu-extra 32 mssfix 1450 ping 10 comp-lzo

verb 4
mute 10
pause-exit

Thomas Heidemann wrote:

On Monday 12 January 2004 17:10, Mark Olliver wrote:

Hi Thomas


Hi Mark,

You should be able a port from your isp's public nat box to you
private linux box.

You can then use this public ip / port pair.


Ok, than I should ask for that.


otherwise you can create a tunnel which has only one fixed end, this
is what I do for when I am roaming.

The tunnel would stay stable and allow the routing between networks.
You might want to consider quagga to do the dynamic routing with.



If that means, that I can only start the vpn tunnel from one side (the private one), I'm pleased and try it.



Mark



Thanks for all advices Thomas





____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users