LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-12-2003, 05:01 PM   #1
chtthies
LQ Newbie
 
Registered: Nov 2003
Posts: 10

Rep: Reputation: 0
URGENT! What to type to get this with IPTABLES?


I need toduplicate this entry in another machine, but don't know how to

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
SNAT all -- 10.0.0.0/8 anywhere to:200.69.208.109

Thanks!
 
Old 11-12-2003, 05:23 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
please do not mark any thread as urgent, and certainly not in caps. it may be urgent for you, but it is not urgent for us, thanks.
 
Old 11-12-2003, 05:34 PM   #3
gomix100
LQ Newbie
 
Registered: Nov 2003
Location: Caracas
Distribution: Red Hat
Posts: 13

Rep: Reputation: 0
Mi first post... maybe i'm doing it wrong....

I did it wrong... the next one got the answer...

Last edited by gomix100; 11-12-2003 at 05:36 PM.
 
Old 11-12-2003, 05:35 PM   #4
gomix100
LQ Newbie
 
Registered: Nov 2003
Location: Caracas
Distribution: Red Hat
Posts: 13

Rep: Reputation: 0
Hi

i think you need is:

iptables -t nat -P POSROUTING -j ACCEPT
iptables -t nat -A POSTROUTING -s 10.0.0.0/8 -j SNAT --to-source 200.69.208.109

let me know if that work for u.
can u please include the output of iptables -L -n -v ?

Guillermo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 11:21 AM
urgent!!need help!firewalling using iptables...... Fatz Programming 2 09-16-2004 01:41 PM
urgent!!need help!firewalling using iptables...... Fatz Linux - Networking 1 09-15-2004 09:53 PM
urgent (regarding iptables ) chill Linux - Security 3 02-13-2004 03:20 AM
URGENT! What to type to get this with IPTABLES? chtthies Linux - Networking 1 11-12-2003 05:10 PM


All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration