Networking Forums

Networking Forums > Computer Networking > Linux Networking > newbie: Open vpn with more than one client

Reply
Thread Tools Display Modes

newbie: Open vpn with more than one client

 
 
Unruh
Guest
Posts: n/a

 
      10-08-2007, 03:11 PM
I an a newbie at openvpn. I have two laptops that I want to attach to
openvpn tunnels to a third desktop computer. Lets call the desktop A.com
and the laptops B and C. As with laptops they tend to roam, but will also
be used at times behind a single ADSL router and thus will be NAT to that
router.

I want B to always connect with IP 10.8.0.2 and C to always connect with
10.8.0.3 I do not want A to assign addresses. I do not want to connect to
10,000 laptops so have no problem with fixed addresses, and am not going to
run out of addresses for the two machines.

I find the docs hard to figure out so am asking if the following
openvpn.conf files would work

On A.com
dev tun
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
persist-key
persist-tun
verb 4
ifconfig-local 10.8.0.1
duplicate-cn
max-clients 10
status openvpn-status.log
secret /etc/openvpn/static.key



B.com

dev tun
ifconfig 10.8.0.2 10.8.0.1
remote 142.103.234.23
persist-key
persist-tun
verb 3
ping 10
secret /etc/openvpn/static.key

On C.com

dev tun
ifconfig 10.8.0.3 10.8.0.1
remote 142.103.234.23
persist-key
persist-tun
verb 3
ping 10
secret /etc/openvpn/static.key


I would use the same static.key on all three machines.
Will this work?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open wireless access but protect wired server and client? dbasedos Wireless Internet 2 04-21-2007 05:38 PM
Keeping the Windows XP VPN Client open across logins Wells Windows Networking 4 05-26-2006 08:08 AM
newbie - client not replying to DHCPOFFER michael melling Linux Networking 2 08-10-2004 07:52 PM
does netstumbler look for open ports? NEWBIE ALERT WIIP Wireless Internet 0 04-25-2004 10:02 PM
Newbie Q: How to open ipchains firewall to forward ports to XBox Live George Linux Networking 0 12-23-2003 06:49 PM



1 2 3 4 5 6 7 8 9 10 11