proto tcp6
remote <my IPV6 DynDNS address> 1194 tcp6
Feb 26 15:16:35 openvpn[19763]: Attempting to establish TCP connection with [AF_INET6]2003:66:xxxx:xxxx::1:1194 [nonblock]
Feb 26 15:16:45 openvpn[19763]: TCP: connect to [AF_INET6]2003:66:xxxx:xxxx::1:1194 failed, will try again in 5 seconds: Connection timed out
Feb 26 15:16:45 openvpn[19763]: SIGUSR1[soft,init_instance] received, process restarting
Feb 26 15:16:45 openvpn[19763]: Restart pause, 5 second(s)
Hello Rooby,
By default the IPV6 firewall from Merlin firmware allow the ping to all addresses.
But right now there are no rules to allow openvpn.
ip6tables -I INPUT -p tcp -j ACCEPT
Additionally to allow ping to all clients per default is also quite bad for a firewall.
Ok I did not know that. But personally I think it is not good to reply on pings if not really necessary.Allowing ICMP pings is required as per the IPv6 RFCs.
ip6tables -I INPUT -i ppp0 -p tcp --dport 1194 -j ACCEPT
Ok I did not know that. But personally I think it is not good to reply on pings if not really necessary.
RMerlin can you check if the IPV6 firewall is working correctly?
I have now added the following in the firewall-start script
I guess this is the correct setting for open only the port 1194 for OpenVPN and IPV6Code:ip6tables -I INPUT -i ppp0 -p tcp --dport 1194 -j ACCEPT
But shouldn't it be done by the firewall when I open the port 1194 or even automatically when I enable OpenVPN?
This is quite easy it will show a potential hacker yes there is a target which is alive and waiting to get hacked. Maybe the reply will also show the operating system. But I do not know much about TCP/IP packets. A good firewall will just drop everything which is not configured and does not reply. A stupid ping search over all possible address of course is not practicable. I fully agree.Why? Not responding to pings is just silly paranoia. Beside, who would scan 2^128 IPs through pings to find out systems that actually respond to pings? That would require someone willing to die of old age before he can find a valid target.
Yes it seems to work so I can connect to my server (server and client both are RT-AC66U with your SW). I can see the IPV6 client address in the VPN server overview.I didn't implement IPv6 support for OpenVPN, so I wasn't expecting it to work.
Yes it seems to work so I can connect to my server (server and client both are RT-AC66U with your SW). I can see the IPV6 client address in the VPN server overview.
To make it more convenient I would suggest to add
UDP6/TCP6 as drop down menu to the GUI of of server and client.
and on the client if UDP6 or TCP6 is selected add just one additional line for the IPV6 server address which results in two remote statements in the OpenVPN config file with the IPV6 one first. Then when IPV6 is not working it falls down to IPV4 connection.
What do you think ?
For the firewall to open port 1194 for IPV6 I don't really know how to handle. Maybe open it automatically if UDP6 or TCP6 is chosen or just give a hint to open it manually.
Adding IPv6 support is not a priority right now (it'd be tricky for me to test it) but I will possibly eventually take a look at it to see how doable it would be. For now I can least take a look at the firewall part of it, since this is something normally handled automatically on the IPv4 side of things, so I'd do the same thing for IPv6 - should be rather simple to implement.
So following up on this thread, does Asus Merlin have support for OpenVPN IPv6 now with the 380 and newer firmware?
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!