Viewing web services inside LAN via Internet

Ilya Palagin tux-4CS0UopE6WdBDgjK7y7TUQ at public.gmane.org
Wed Sep 15 05:12:46 UTC 2004


JM wrote:
> Hi,
> 	is it possible to view a web service sitting inside our LAN via internet
> 
> 	sample setup
> 
> 	boxA (with global IP and LAN IP)
> 
> 	boxB (LAN IP only) - this is where the Web service sits.
> 
> 	boxA and boxB are connected via the same segment of LAN IP.
> 
> 
> Thanks,

Yes, you just need to create rules for network address and port 
translation on box A.  For iptables see DNAT (forward traffic from 
BoxA:80 to BoxB:80).
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list