As it was already getting late, I booted the machine with 2.6.24 and decided to call it a day.
Today, when I tried to initiate an OpenVPN connection to my home server from a remote location, the connection failed. Even a secure shell to the server didn't work. Going via the OpenWRT's shell to the server did work for some bizarre reason.
After some tracing with tcpdump and wireshark, it showed that the port number of the connection was somehow changing... ie. make a connection to port 1000 and it arrived on the server at port 1040 according to the packet trace.
First thought it had to do with the VLAN tagging and that for some reason the ubuntu kernel was interpreting the packets wrong, as I already had issues with the VLAN... but when I did the packet trace on the OpenWRT on the incoming interface, it was correct.. on the outgoing interface however it was wrong... which showed the cause was not with the ubuntu server but with the OpenWRT device. After rebooting it, the connections worked fine again.
Goes to show that when stuff goes bad, it really goes bad.. as in 2 different things going banana's at the exact same time!
Anyway the OpenWRT issue seems to be a bug in the 7.07 Kamikaze release, which is fixed in 8.09
Kamikaze 8.09 Release notes states:
* fix port forwarding NAT issues in brcm-2.4
So it looks like I'll have to update yet another device.
1 comment:
Still looking for the t-shirt "Murphy's law, I'm a believer!"
Seen enough proof to take the law as a fact!
Post a Comment