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

Re: Remote Access of a Private IP



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

Assuming you have control over the router
Can you use the prerouting and forward chains?

iptables -t nat -A PREROUTING -p tcp -i $EXTIF -d
66.xxx.xxx.xxx--destination-port yyyy -j DNAT --to 10.xxx.xxx.xxx:yyyy

iptables -A FORWARD -p tcp -i $EXTIF -d 10.xxx.xxx.xxx -destination-port
~ yyyy -j ACCEPT


Michael Whately wrote:

| I have a client with a need to access a machine on a private network.
|
| The situation is the Wireless ISP has assigned a Private IP to all of
| the wireless users in the 10.xxx.xxx.xxx range. The private IP is
| connected to an ISP with public IP in the 66.xxx.xxx.xxx range. I can
| not seem to get across to the ISP that we need a Public IP address in
| order to remotely connect to the machine. They provide the DNAT address,
| but I still can not connect, (did not expect to).
|
| Any suggestions?
|
| Mike
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBZY+2hR1bBPP+Kh0RAgOOAKCUQfziQ7Qnnk/krsnVqAMvzpdEBwCfceRP
eTDz3p8gmKZ4sP8lJTV+Ugs=
=vBZK
-----END PGP SIGNATURE-----



Reply to: