Re: How to pass two routers

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

 



On Wed, 08 Sep 2010 11:56:09 +0200, JB <jb.1234abcd@xxxxxxxxx> wrote:

> roland <roland <at> cat.be> writes:
>
>>
>> On Wed, 08 Sep 2010 09:52:27 +0200, JB <jb.1234abcd <at> gmail.com>  
>> wrote:
>>
>> > roland <roland <at> cat.be> writes:
>> >
>> >> ...
>> >> Is there a way to tell the server at site A to pass all traffic
>> >> 192.168.0.0/24 to site  B?
>> >> ...
>> >
>> > Hi,
>> > iptables, FORWARD, forwarding ?
>> > JB
>> >
>> Can you give me an example. I'm not familiar with iptables. Would not  
>> like
>> to do the wrong thing.
>>
>> Thanks
>
> Hi,
> it would be inappropriate for me to give you specific rules on how to  
> activate
> iptable forwarding on your live system (it is not a place to experiment  
> if you
> are not familiar with iptables).
>
> I can tell you that once you become familiar with iptables, it will be  
> easy.
> Please get familiar with it, it is an important application in area of  
> firewall
> and routing.
>
> This is netfilter/iptables main site:
> http://www.netfilter.org/
> Find Documentation section:
> FAQ, HOWTOs, Tutorials
>
> Search Google for:
> iptables forwarding
> iptables forward example
>
> This is more technical summary:
> $ man iptables
> $ man ip6tables
>
> Do it, it will pay off for the long run for you.
> Experiment on your non-production desktop/laptop with Fedora, CentOS,  
> RedHat.
>
> The package that is installed (per dafault) is:
> $ yum list iptables
>
> It can be operated via:
> - command line
> - GUI (example of GNOME menu)
>   System-Administration-Firewall
>
> JB
>
Thank you very much.
By the way:
The system is not a live system, it is in a test faze.

The only thing I was expecting from you was to give a solution for this  
fictive situation:
suppose you are in a situation:
site A: 192.168.0.0/24 server 192.168.0.1
	gateway 192.168.0.99 for incoming Internet connections through port XX
	gateway 192.168.0.98 for outgoing connections to site B
site B: 192.168.1.0/24 server to contact 192.168.1.1

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

This situation is fictitious and the server is not live.

Could you give an answer to this question?
Thank you very much.

Roland



-- 
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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux