Re: Bridging OpenVPN and LAN

2021-09-08 Thread Stuart Longland
On Sun, 5 Sep 2021 16:52:58 +0300 kasak wrote: > You should add ip pool for bridge in server config. > > like this: > > server-bridge 10.70.0.1 255.225.255.0 10.70.0.100 10.70.0.110 You should *only* do this if you have configured your DHCP server to _not_ hand out IP addresses in that range.

Re: Bridging OpenVPN and LAN

2021-09-05 Thread Andrei
> On 05.09.2021., at 21:11, Kasak wrote: > I made a typo. Mask should be 255.255.255.0 > I highly recomend not just copying what i say but correcting it to match your > configuration Agreed! Fix'd the typo and the config works but yeah - I still can't get the router to do DHCP. Bummer.

Re: Bridging OpenVPN and LAN

2021-09-05 Thread Andrei
> On 05.09.2021., at 15:58, kasak wrote: > I've should correct myself in last message. You actually may try to proxy > dhcp answers to vpn, adding option > > server-bridge > > to server config without pool definition. Please respond if it works. I'm > really curious about it. > > I use

Re: Bridging OpenVPN and LAN

2021-09-05 Thread Kasak
> 5 сент. 2021 г., в 21:53, Andrei написал(а): > >  >> On 05.09.2021., at 15:58, kasak wrote: >> I've should correct myself in last message. You actually may try to proxy >> dhcp answers to vpn, adding option >> >> server-bridge >> >> to server config without pool definition. Please

Bridging OpenVPN and LAN

2021-09-05 Thread Andrei
Hello, I am trying to setup an OpenVPN server on OpenBSD 6.9 that's bridged to my LAN. The topology looks like this: 10.70.0.1 (gateway) - 10.70.0.118 (server, on em1). I've set-up the em1 interface as DHCP and it get's the expected address. Next up I created a tap0 and bridge0 devices

Re: Bridging OpenVPN and LAN

2021-09-05 Thread Stuart Henderson
On 2021-09-05, Andrei wrote: > tap0: flags=8902 mtu 1500 > lladdr fe:e1:ba:d0:6a:1c > index 6 priority 0 llprio 3 > groups: tap > status: no carrier > bridge0: flags=0<> > index 7 llprio 3 > groups: bridge > priority 32768 hellotime 2

Re: Bridging OpenVPN and LAN

2021-09-05 Thread kasak
05.09.2021 16:31, Andrei пишет: Hello, I am trying to setup an OpenVPN server on OpenBSD 6.9 that's bridged to my LAN. The topology looks like this: 10.70.0.1 (gateway) - 10.70.0.118 (server, on em1). I've set-up the em1 interface as DHCP and it get's the expected address. Next up I

Re: Bridging OpenVPN and LAN

2021-09-05 Thread kasak
05.09.2021 16:31, Andrei пишет: Hello, I am trying to setup an OpenVPN server on OpenBSD 6.9 that's bridged to my LAN. The topology looks like this: 10.70.0.1 (gateway) - 10.70.0.118 (server, on em1). I've set-up the em1 interface as DHCP and it get's the expected address. Next up I