Re: Hilfe mit IPTables

Luca Bertoncello <[email protected]>
Newsgroups gmane.user-groups.linux.dresden
Message-ID <[email protected]>
Am 19.02.2023 um 12:07 schrieb Heiko Schlittermann:
> Luca Bertoncello <[email protected]> (So 19 Feb 2023 11:04:22 CET):
>> Theoretisch sollte dieses Befehl alles machen:
>>
>> /sbin/iptables -t nat -A PREROUTING -p tcp -i vpnsrv0 -d 10.50.0.1
>> --dport 3306 -j DNAT --to-destination 127.0.0.1:3306
> 
> Ich *glaube*, DNAT mit 127.0.0.0/8 geht nicht. Du suchst vermutlich `-j REDIRECT …`

Hallo Heiko,

so wie ich sehe, -j REDIRECT ist für eine andere Port auf derselben IP...
Oder irre ich mich komplett?

Danke
Luca Bertoncello
([email protected])
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.