|
|
I'm a long-time user of OpenVPN in routing mode, but I wanted to try
bridging mode. The client is Windows XP, the server is NetBSD 4.99.4
(reasonably up to date). Using 2.0.9 on both sides. Routing
configuration works fine.
On the server I have an external interface wm0 which is 1.2.3.4 and a
wireless internal rum0 which is 192.168.72.140 ...
On the server I have this:
# ifconfig -a
wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,
TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx,TCP6CSUM_Tx,
UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
enabled=0
address: 00:30:1b:81:08:27
media: Ethernet autoselect (10baseT)
status: active
inet 1.2.3.4 netmask 0xffffff00 broadcast 1.2.3.255
fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
address: 00:00:00:30:1b:81:09:27
rum0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu
1500
ssid ***** nwkey *****
powersave off
bssid 00:60:1d:23:41:67 chan 6
address: 00:1a:70:b1:a3:dc
media: IEEE802.11 autoselect (DS1 mode 11g)
status: active
inet 192.168.72.140 netmask 0xffffff00 broadcast 192.168.72.255
inet6 fe80::21a:70ff:feb1:a3dc%rum0 prefixlen 64 scopeid 0x4
bridge0: flags=41<UP,RUNNING> mtu 1500
tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu
1500
address: f2:0b:a4:5f:7b:07
media: Ethernet autoselect
inet6 fe80::f00b:a4ff:fe5f:7b07%tap0 prefixlen 64 scopeid 0x6
Also:
# brconfig bridge0
bridge0: flags=41<UP,RUNNING>
Configuration:
priority 32768 hellotime 2 fwddelay 15 maxage 20
ipfilter disabled flags 0x0
Interfaces:
tap0 flags=3<LEARNING,DISCOVER>
port 6 priority 128
rum0 flags=3<LEARNING,DISCOVER>
port 4 priority 128
Address cache (max cache: 100, timeout: 1200):
00:04:20:06:2e:26 rum0 1023 flags=0<>
00:02:2d:66:5c:cc rum0 833 flags=0<>
00:14:6c:1e:05:d2 rum0 832 flags=0<>
00:0b:d0:01:6b:cd rum0 717 flags=0<>
00:ff:2e:11:1f:bd tap0 666 flags=0<>
00:80:77:7d:07:0f rum0 550 flags=0<>
00:14:22:38:52:73 rum0 417 flags=0<>
00:30:65:36:ce:ff rum0 289 flags=0<>
00:13:72:b5:d0:c0 rum0 4294967122 flags=0<>
I got this with
# ifconfig bridge0 create
# brconfig bridge0 add tap0 add rum0 up
In the server config I have
dev tap
server-bridge 192.168.72.140 255.255.255.0 192.168.72.141
192.168.72.143
If I ping .140 (the server) from the client I get returns; but if I try
to ping the client from the server, I don't. If I run tcpdump on tap0
on the server, I can see the pings get to the server end, but they
don't seem to make it to the local kernel.
I feel like there's something simple I'm missing. All interfaces have
MTU=1500.
Anyone have this running correctly?
Thanks,
/jordan
____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|