Re: How to pass two routers

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

 



Gordon Messmer <yinyang <at> eburg.com> writes:

> 
> There's no need to use NAT, proxy servers, or oddball iptables rules to 
> accomplish what roland described.
> 
> As Dario pointed out, you have two options:
> 
> 1) Set up a static route on each server in LAN A so that they use 
> 192.168.0.99 as their default gateway and 192.168.0.98 as the gateway 
> for the network in LAN B.  You can configure the route using Fedora's 
> network configuration tools.
> 
> 2) Set up a static route on the router at 192.168.0.99 using 
> 192.168.0.98 as the gateway for the network in LAN B.  This will 
> simplify the configuration of all of the servers in LAN A, since they 
> don't need a route of their own.

Hi,

No, I think you missed Roland's point.

> What do I have to configure, on the server on site A, to pass everything,  
> that comes in on port XX, to server 192.168.1.1 through gateway  
> 192.168.0.98
His point is to treat requests coming to port XX of the internal server
specially.
He wants to "forward" (presumably transparently) these requests to the actual
server that is on an external network.
You can do that with either:
- a proxy server
- specially crafted NAT and forwarding rules in iptables

What you and Dario described is configurations of routing tables.
JB



-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux