Thanks Marius,
I add only this rules:
iptables -t nat -A PREROUTING -i eth1 -p 4 -j DNAT --to 192.168.1.2
my wan interface is eth1
and all is ok
Bye, Miro LZ4NY
----- Цитат от Marius Petrescu (marius(a)yo2loj.ro), на 31.07.2016
в 00:47 ----- (Please trim inclusions from previous messages)
_______________________________________________
You need to specify for which incoming interfaces you want DNAT, else
you will get outgoing encap traffic sent back to the gateway instead of
the internet:
Let's assume eth0 is WAN:
iptables -t nat -A PREROUTING -i eth0 -p 4 -j DNAT --to 192.168.1.2
Marius, YO2LOJ
On 2016-07-30 21:05, Miroslav Nikolov wrote:
(Please trim inclusions from previous messages)
_______________________________________________
I asked only that rule but once you enable the connection of the gate to
the entire network 44 stops, stops and ping.
Probably something missing but I can not remember what it was.
_________________________________________
44Net mailing list
44Net(a)hamradio.ucsd.edu
http://hamradio.ucsd.edu/mailman/listinfo/44net
-------------------------------------
P.S. Спри да търсиш в мрежата как се прави онлайн магазин. Започни да продаваш веднага с
Shopiko. Тествай го безплатно 14 дни.
https://www.superhosting.bg/web-hosting-compare-shop-plans.php?utm_source=M…