Hi Guys,
I have a strange issue I thought I would see if anyone knows the answer. I have a 6in4 tunnel with an ISP I work for and since I have had this setup on my Mikrotik RB750Gr3, I have been experiencing timeouts on any of the servers that I connect into via SSH from the LAN. This only happens on IPv6 connections, on IPv4, it stays connected fine even to the same server.
I wonder if anyone knows of any additional options I don’t know about (tweaks) which I could add/try and see if that resolves the issue. I am not sure exactly how long it stays connected for but the general operation is fine. Its like an idle timeout somewhere which needs adjusting.
My setup is pretty much standard and you should be able to see the relevant bits below (else I do you a full config)..
I think thats about it, if I am missing any of the configuration that you would like so see, please let me know but I think this issue can be resolved if someone knows what could cause the SSH season timeouts and what options I could add to stop it.
So a quick summery is, this issue only effects IPv6 connectivity which uses the 6in4 tunnel, it is not the server(s) that I am connecting to as they are fine with IPv4 and is likely some form of idle timeout but alias I can’t seem to find any options.
Any help would be greatly received.
[simon@RB750Gr3_2] /ipv6> address print
Flags: X - disabled, I - invalid, D - dynamic, G - global, L - link-local
# ADDRESS FROM-POOL INTERFACE ADVERTISE
0 DL fe80::6e3b:6XXf:fXX0:9bcb/64 ether1-gateway no
1 DL fe80::6e3b:6XXf:XX70:9bcc/64 ether2-master no
2 DL fe80::XX9f:XX0f/64 WORK-IPV6 no
3 G 2a06:2xx1:4XXe::1/64 WORK-IPV6 ether2-master
[simon@RB750Gr3_2] /ipv6> firewall filter print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; accept established,related
chain=forward action=accept connection-state=established,related
1 ;;; drop invalid
chain=forward action=drop connection-state=invalid
2 ;;; accept SSH via ACL from WAN
chain=input action=accept protocol=tcp src-address-list=TRUSTED in-interface=WAN dst-port=220
3 chain=input action=accept protocol=tcp src-address-list=TRUSTED in-interface=WAN dst-port=8291
4 chain=input action=accept protocol=udp in-interface=WAN dst-port=500
5 chain=input action=accept protocol=udp in-interface=WAN dst-port=1701
6 chain=input action=accept protocol=udp in-interface=WAN dst-port=4500
7 ;;; accept pings
chain=input action=accept protocol=icmp
8 chain=input action=accept connection-state=established
9 chain=input action=accept connection-state=related
10 ;;; drop all WAN
chain=input action=drop in-interface=WAN
[simon@RB750Gr3_2] /ipv6 nd> print
Flags: X - disabled, I - invalid, * - default
0 * interface=all ra-interval=3m20s-10m ra-delay=3s mtu=unspecified reachable-time=unspecified retransmit-interval=unspecified ra-lifetime=30m hop-limit=unspecified
advertise-mac-address=yes advertise-dns=no managed-address-configuration=no other-configuration=no
[simon@RB750Gr3_2] /ipv6 nd> prefix print
Flags: X - disabled, I - invalid, D - dynamic
0 D prefix=2axx:2xx1:xx1e::/64 interface=ether2-master on-link=yes autonomous=yes valid-lifetime=4w2d preferred-lifetime=1w
[simon@RB750Gr3_2] /interface> 6to4 print
Flags: X - disabled, R - running
# NAME MTU ACTUAL-MTU LOCAL-ADDRESS REMOTE-ADDRESS KEEPALIVE DSCP
0 R WORK-IPV6 1280 1280 212.XXX.XX.15 1XX.XX3.XX9.254 10s,10