GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Anyone know the best way to do this (technical question) (https://gfy.com/showthread.php?t=853489)

marketsmart 09-07-2008 10:05 PM

Anyone know the best way to do this (technical question)
 
i want to allow a remote windows pc to connect to a windows server on a private network (192.xxx.xxx.xxx) by going through a public ip's linux server that is also connected to the private network via local lan switch..

whats the best way to do this?

squid proxy?

GigoloShawn 09-07-2008 10:05 PM

Uh.. Port forward with ipchains.

FreakinWebmaster 09-07-2008 10:08 PM

That sounds too nerdy for me. I have no idea, but good luck!

GrouchyAdmin 09-07-2008 10:08 PM

Quote:

Originally Posted by GigoloShawn (Post 14722089)
Uh.. Port forward with iptables.

Fixed. ipchains doesn't support port forwarding. You'd need to use ipmasqadm w/ portfw if you were still using ipchains. You likely have iptables, not ipchains.

GigoloShawn 09-07-2008 10:17 PM

Oops. Yeah. iptables. Gotta love Linux for changing IP tools like underwear.. I still remember IPF/PF; it's not changed a hell of a lot. :1orglaugh :1orglaugh

iptables -t nat -A prerouting -p tcp -i eth0 -d External.IP.Goes.Here --dport 80 -j DNAT --to Internal.Other.Host.IP.Goes.Here:80

marketsmart 09-07-2008 10:20 PM

Quote:

Originally Posted by GigoloShawn (Post 14722120)
Oops. Yeah. iptables. Gotta love Linux for changing IP tools like underwear.. I still remember IPF/PF; it's not changed a hell of a lot. :1orglaugh :1orglaugh

iptables -t nat -A prerouting -p tcp -i eth0 -d External.IP.Goes.Here --dport 80 -j DNAT --to Internal.Other.Host.IP.Goes.Here:80

thanks.... :thumbsup

fluffygrrl 09-08-2008 02:23 AM

Quote:

Originally Posted by GrouchyAdmin (Post 14722097)
Fixed. ipchains doesn't support port forwarding. You'd need to use ipmasqadm w/ portfw if you were still using ipchains. You likely have iptables, not ipchains.

He knows half the deal, and he screams it really loud. That must be passing grade, no ?


All times are GMT -7. The time now is 01:39 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123