Hi,
i am using Traefik as my reverse proxy. I wanted to set up remote for acces my git and i have done it (more or less) but its only working from outside of my network. I found that solution should be Loopback NAT and tried to use it but no succes. I tried to do it simply for whole network but nothing. Any ideas?
1 chain=srcnat action=masquerade src-address=10.10.42.0/24 dst-address=10.10.42.0/24 log=no log-prefix=""
and just to be complete here are all my NAT rules to see if there is no conflict
0 chain=srcnat action=masquerade out-interface=ether5[internet] log=no log-prefix=""
1 chain=srcnat action=masquerade src-address=10.10.42.0/24 dst-address=10.10.42.69 log=no log-prefix=""
2 ;;; traefik-proxy
chain=dstnat action=dst-nat to-addresses=10.10.42.69 to-ports=80 protocol=tcp src-address=!10.10.42.69
in-interface-list=WAN dst-port=80 log=no log-prefix=""
3 ;;; traefik-proxy
chain=dstnat action=dst-nat to-addresses=10.10.42.69 to-ports=443 protocol=tcp src-address=!10.10.42.69
in-interface-list=WAN dst-port=443 log=no log-prefix=""
4 ;;; traefik-proxy
chain=dstnat action=dst-nat to-addresses=10.10.42.69 to-ports=8080 protocol=tcp src-address=!10.10.42.69
in-interface-list=WAN dst-port=8080 log=no log-prefix=""
5 ;;; traefik-proxy
chain=dstnat action=dst-nat to-addresses=10.10.42.69 to-ports=8080 protocol=udp src-address=!10.10.42.69
in-interface-list=WAN dst-port=8080 log=no log-prefix=""
6 ;;; traefik-proxy
chain=dstnat action=dst-nat to-addresses=10.10.42.69 to-ports=443 protocol=udp src-address=!10.10.42.69
in-interface-list=WAN dst-port=443 log=no log-prefix=""
7 ;;; traefik-proxy
chain=dstnat action=dst-nat to-addresses=10.10.42.69 to-ports=80 protocol=udp src-address=!10.10.42.69
in-interface-list=WAN dst-port=80 log=no log-prefix=""
8 ;;; traefik-ssh-git
chain=dstnat action=dst-nat to-addresses=10.10.42.69 to-ports=2224 protocol=tcp src-address=!10.10.42.69
in-interface-list=WAN dst-port=2224 log=yes log-prefix="ssh_nat"
9 ;;; traefik-ssh-git
chain=dstnat action=dst-nat to-addresses=10.10.42.69 to-ports=2224 protocol=udp src-address=!10.10.42.69
in-interface-list=WAN dst-port=2224 log=yes log-prefix="ssh_nat"