openvpn tap configuration

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

openvpn tap configuration

Postby andreask » Mon Oct 19, 2015 4:14 pm

Hello archers...

I am facing a problem with a bridged openvpn configuration.
I've followed the steps in the arch wiki on how to setup the openvpn on bridged/tap but for some reason I am stuck.
Whenever I start the bridged network (netctl start bridge-profile). I loose the connection to my raspberry pi (2). I have to login then locally and stop the bridged net to be able to connect once again.
Tap profile loads succesfully.
I also have created an tun profile (openvpn) whitch works perfectly but I need the bridged net because I want to share upnp via the vpn. I've read somewhere that upnp does not work via tun.
(Though it's weired, because on my phone (note 4) upnp client works fine when I connect to vpn.)

I am probably missing something in the wiki, but I don't know what!
* i've also tried the version from openvpn. But still no luck
Please help the poor ignorant guy! :)

my bridge netctl profile
$this->bbcode_second_pass_code('', '>
Description="Bridge connection"
Interface=br0
Connection=bridge
BindsToInterfaces=(eth0 tap0)
IP=static
Address=('192.168.2.1/24')
Gateway=('192.168.2.254')
DNS=('192.168.2.254')
## Ignore (R)STP and immediately activate the bridge
#SkipForwardingDelay=yes
')

my tap netctl profile
$this->bbcode_second_pass_code('', '>
Description='Tuntap connection'
Interface=tap0
Connection=tuntap
Mode='tap'
User='nobody'
Group='nobody'

## Example IP configuration
#IP=static
#Address='10.10.1.2/16'')

Thank you for your help!
andreask
 
Posts: 3
Joined: Mon Oct 19, 2015 3:57 pm

Re: openvpn tap configuration

Postby Socaltom » Thu Oct 22, 2015 2:33 pm

When you create the bridge it steals the IP address from your NIC. Check to see if your router has a assigned a new IP address to the RPI.
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 15 guests