First, I'm sorry for my english.
In my home-network, I have a normal consumer router+modem+switch device with DHCP, DNS and so on. Additional, I have installed on a computer (debian squeeze) a openvpn-server.
At the moment, I use the tun-device and route my local subnet (192.168.178.0/24).
But I want that my client use the dhcp/dns and become a "LAN-Member" including samba-access, name resolution and other "LAN-Only-Features". (hope you understand what I mean)
What I need in the server/client configurtion for this setup? (of course I know that I must create a bridge device and can't use anymore the tun-mode)
Thank you and again: I hope you understand me.
Client to Network - Using the networks DHCP-Server?
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 8
- Joined: Sat Feb 05, 2011 9:24 am
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Client to Network - Using the networks DHCP-Server?
yes you need to switch your setup in bridging mode...
check the docs section ,there are bridge based examples there...
Michael.
check the docs section ,there are bridge based examples there...
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
- OpenVPN Power User
- Posts: 110
- Joined: Wed Oct 19, 2011 1:19 am
Re: Client to Network - Using the networks DHCP-Server?
i have repeatedly asked about DHCP and TAP configs, but have found little help. I am not the only one to have issues getting it working, but sadly i still cant get it working. i found the below link, and it hasn't helped me very much. maybe you will fare better than i. http://hans.fugal.net/blog/2009/01/06/p ... its-place/
i constantly get the error:it does not matter what combination of server-bridge directives i give.
i constantly get the error:
Code: Select all
MULTI: no dynamic or static remote --ifconfig address is available for ...
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Client to Network - Using the networks DHCP-Server?
a very good book with various examples is janjusts openvpn cookbook...
Michael.
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"