search for: mktun

Displaying 4 results from an estimated 4 matches for "mktun".

Did you mean: mkt
2004 Dec 22
6
vpn bridging
[This email is either empty or too large to be displayed at this time]
2004 Dec 02
6
Shorewall + OpenVpn
...n all ACCEPT all vpn ACCEPT /etc/shorewall/tunnels openvpn net xxx.xxx.xxx.xxx ==================================================================== SCRIPT to run vpn on FIREWALL A : #!/bin/sh /usr/local/sbin/openvpn --mktun --dev tap0 /usr/sbin/brctl addbr br0 /usr/sbin/brctl addif br0 tap0 /usr/sbin/brctl addif br0 eth0 /sbin/ifconfig tap0 0.0.0.0 promisc up /sbin/ifconfig eth0 0.0.0.0 promisc up /sbin/ifconfig br0 192.168.10.1 netmask 255.255.255.0 broadcast 192.168.0.255 /usr/local/sbin/openvpn --tun-mtu 1500 -...
2007 Apr 18
0
[Bridge] Re: brctl, Ethernet Bridging, openvpn, Universal TUN/TAP devices
.../usr/sbin/brctl addbr br${X} > /sbin/ifconfig brX xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy > /sbin/route add default gw zzz.zzz.zzz.zzz > > /usr/sbin/brctl addif br${X} eth${Y} > /sbin/ifconfig eth${Y} 0.0.0.0 promisc up > > [1] /usr/sbin/openvpn --mktun --dev tap${Z} > /usr/sbin/brctl addif br${X} tap${Z} > /sbin/ifconfig tap${Z} 0.0.0.0 promisc up > [2] /usr/sbin/openvpn --config config.${Z} > > > To stop it: > > [3] kill `cat /var/run/openvpn.${Z}.pid` > /sbin/ifconfig tap${Z} down > /...
2005 Jun 27
5
Bridging problem with Shorewall and OpenVpn
...quot;Create TAP/bridge interfaces:" modprobe tun modprobe bridge ifconfig eth1 down for i in `seq 0 ${maxtap}`; do openvpn --mktun --dev tap${i} done sleep 1 brctl addbr br0 brctl addif br0 eth1 sleep 1 for i in `seq 0 ${maxtap}`; do brctl addif br0 tap${i} done sleep 1 for i in `seq 0 ${maxtap}`; do ifconfig tap${i} 0.0.0.0 promisc up done sleep 1 ifconfig eth1 0.0.0.0 promisc up sleep 1 #ifconfig br0 192.168.3.12 netma...