Re: Hilfe mit IPTables

Heiko Schlittermann <[email protected]>
Newsgroups gmane.user-groups.linux.dresden
Organization schlittermann -- internet & unix support
Message-ID <Y/[email protected]>
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 …`

-- 
Heiko
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEE0L/WueylaUpvFJ3Or0zGdqa2wUIFAmPyAvQACgkQr0zGdqa2
wUKhtAgAjhmwDMOEeoY2FUQ+UqiSAyvj2rQBQfC08fB73FvB1dDJrU3JI7fM3UDZ
A01+qVMkjJTGmIqEdaeDbDoC516LEkbH/9oVBjIvdH5ZxTJf+WMv2Yf6aszfglQC
Rs9En9fR6DSgXMjiSCXkcQeHSuGglmimMp9nFsG0NXp/FJv2z+8YnhBO8V7cs54e
e+0WnFKeTj/wiEk3wPOQTeOzIqFos8WGgIH37G18YW6smoNOVH1kZuYN0VJJZPxm
IRijRC590GmsRQkuDU77lHTRGSpjrVVOsiZ08RJ8A/eepj1UkzzzpzH550dulpHf
Gw2wFOLJaTYPRopbP6GO/v/I4YaPSQ==
=4hkA
-----END PGP SIGNATURE-----
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.