[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: open ports with iptables



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Georges

Georges BATTACHE schrieb:
> Dear Sirs,
> I'm just a biginner in Linux/Debian System , Please Could you inform me
> how can I open the ports: 80 and 8080 and 1514?

What do you mean with "open ports"? Normally all ports are "open".

I think you use debian as a NAT-Gateway, so you want port-forwardings:

iptables -t nat -A PREROUTING -i ppp0 -p tcp --destination-port 80 -j
DNAT --to-destination <privatetargetip>:80

Same for 8080 and 1514.

Greetings

Markus

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDIiEj7DLmG4oCQnQRAtryAJ9Kkn8jcaGUkQ/dp26BYrZ1bNKQIgCfXAhr
xys0FcEddAndaz8DGEcQieI=
=LmI9
-----END PGP SIGNATURE-----



Reply to: