live static IP behind linux firewall

John O'Loughlin j.oloughlin at qmul.ac.uk
Wed Nov 22 14:08:37 UTC 2006


Perhaps something like...

iptables -t nat -A PREROUTING -p tcp -d your_external_IP --dport 
to_destination_port  -i eth0 -j DNAT --to
your_internal_IP

John
On Wed, 22 Nov 2006, John O'Loughlin wrote:

>
> You probably need to look at DNAT using iptables.
>
> John
>
> On Wed, 22 Nov 2006, nilesh vaghela wrote:
>
>> How to configure a Live static ip behind firewall /linux router.
>> 
>> Like my firewall LIve staticip is XX.XX.XX.1
>> 
>> there are two interface one is connected to internet eth0
>> second one is connected to local eth1 192.168.0.0/24
>> 
>> But one of the server in local network is to be given the live static
>> ip.
>> 
>> What could be done.
>> 
>> -- 
>> Nilesh Vaghela
>> ElectroMech
>> Redhat Channel Partner and Training Partner
>> 74, Nalanda Complex, Satellite Rd, Ahmedabad
>> 25, The Emperor, Fatehgunj, Baroda.
>> www.electromech.info
>> -- 
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list
>> 
>
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>




More information about the redhat-list mailing list