Temat: przekierowanie portu tun -> lan
Witam.
Mam problem z przekierowaniem portu tun0 (VPN) do lan. Tun ma adresacje 10.0.2.0/24
Dodaje takie reguły i nic nie przekieruje
iptables -t nat -I PREROUTING -d 10.0.2.0/24 -p tcp --dport 8000 -j DNAT --to-destination 192.168.178.42:8000
iptables -I FORWARD -i tun+ -p tcp --dport 8000 -j ACCEPTPoratuje ktoś?