Block DHCP from bridged VPN sites

This forum is for admins who are looking to build or expand their OpenVPN setup.

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.
Post Reply
caciavar
OpenVpn Newbie
Posts: 1
Joined: Wed Dec 01, 2010 7:36 am

Block DHCP from bridged VPN sites

Post by caciavar » Wed Dec 01, 2010 5:46 pm

I have a bridged VPN between two sites on two Windows boxes. The server site is bridged, and the client site is bridge. All the hosts on the server site can see all the hosts on the client site, ie. one big LAN on one subnet (192.168.1.0/24). The routers on either side hand out dhcp to any client on any side of the bridge. I want dhcp packets to remain on their respective side of the bridge. Can this be achieved in a Windows OpenVPN environment? And how?

User avatar
somms
OpenVPN User
Posts: 20
Joined: Sun Aug 29, 2010 2:38 pm

Re: Block DHCP from bridged VPN sites

Post by somms » Thu Dec 02, 2010 3:14 am

http://www.dd-wrt.com/phpBB2/viewtopic. ... 2&start=30

I would like to know if this is possible to block under OpenVPN as well since my workaround was to just isolate by MAC address in the router settings.

Thanks
Image

Psilo
OpenVpn Newbie
Posts: 4
Joined: Fri Dec 03, 2010 5:53 pm

Re: Block DHCP from bridged VPN sites

Post by Psilo » Fri Dec 03, 2010 6:17 pm

Block the DHCP protocol using a firewall on the TAP virtual ethernet adapter on one or both of your OpenVPN servers.

Post Reply