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

[Openvpn-users] Simple (?) OpenVPN linux setup (+WinXP hopefully)


  • Subject: [Openvpn-users] Simple (?) OpenVPN linux setup (+WinXP hopefully)
  • From: Stefan D <schnabel@xxxxxxxxxx>
  • Date: Sat, 28 Feb 2004 23:52:34 +0100

Hi there

I've looked around for a simple and secure VPN-server nad I think I've found the right one. Here's the deal:
I have a LAN at home which I want to able to access from my laptop when I'm away. Sounds like the normal, simple scenario. I have a debian-box acting router at home (eth1 connected to internet (dhcp) and eth0 to the LAN)
__
LAN <-> eth0 | | eth1 <-> internet
10.0.17.x 10.0.17.1 |__| dhcp


The laptop is mostly behind a D-Link router. After reading pages of texts I've think that Ethernet bridging is the go for me, mainly because I need access to samba on the server aswell as shares on other computers on the LAN. Struggled a bit to make the bidging kernel module to work, and tried to follow the guide at:
http://openvpn.sourceforge.net/bridge.html


But some things just confuses me
'/usr/sbin/brctl addif br0 eth1'
should it be eth0 or eth1 for me? When I try either of them that NIC just dies. Is that supposed to happen? Seems weird, I'm really confused right now :) I know that there "write a guide for me"-messages are annoying, but I don't know what to do! What are the tapX and brX interfaces? When a user is connected does he seem to be coming from tapX?


I guess the server config would look something like this?
 port 5000
 proto tcp-server
 dev tap
 ifconfig ?? which IP should I write here? 10.0.17.1 255.255.255.0 ?
 secret key.txt
 comp-lzo
 verb 4
 mute 10

If I want the user to get IP from DHCPd, should I just comment out the "ifconfig" ? Saw that nice how-to on how to get dhcp work, but nothing about the client config?

Thanks in advance!
/Stefan



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users