LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-03-2004, 05:39 AM   #1
bruj3w
Member
 
Registered: Mar 2004
Location: england
Distribution: slackware
Posts: 164

Rep: Reputation: 30
port forwarding problem


im trying to get bit torrent to work through my firewall.

im using the command :

iptables -t nat -I PREROUTING -p tcp --dport 6881:6889 -j DNAT --to-destination 192.168.1.20

but i get an error...

iptables v1.2.10: can't initialize iptables table `-nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.


the table does exist as my firewall script initalises it with...

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

and its also listed in lsmod

iptable_nat 15438 1 (autoclean) [ipt_MASQUERADE]

any ideas as to where im going wrong? im kinda new to iptables and such.

thanks alot.
 
Old 08-03-2004, 05:43 AM   #2
bruj3w
Member
 
Registered: Mar 2004
Location: england
Distribution: slackware
Posts: 164

Original Poster
Rep: Reputation: 30
i fixed it.

sorry :/
 
Old 08-03-2004, 07:10 AM   #3
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Rep: Reputation: 31
how to please

hi,
I want to use , on suse 9.1 , same thing on Redhat, a forwarding ; so one card has an addresse connected to a subnet another card is connected to another subnet,
I flush the iptables : iptables -F

echo "1" > /proc/sys/net/ipv4/ip_forward ,

but I could not see the second subnet from the first subnet

Is there other thing to do , to see the other subnet?
I noticed also that the card is declared with ipv6, when I ran the ifconfig
perhaps a rule to send from one card to another ?
 
Old 08-13-2004, 08:13 PM   #4
Ebel
Member
 
Registered: May 2004
Distribution: Slackware 10
Posts: 63

Rep: Reputation: 15
Quote:
Originally posted by bruj3w
i fixed it.

sorry :/
Well if you've fixed it, then post up the solution, so others can learn.
 
  


Reply



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
IPCHAINS port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 07:35 PM
Problem with Port Forwarding Zorrocaesar Linux - Networking 1 10-25-2005 07:18 AM
Problem with Port forwarding :( aronnok Linux - Networking 2 04-06-2005 02:16 PM
port forwarding problem syrtsardo Linux - Networking 6 07-19-2004 01:50 AM
port forwarding problem roueleader Linux - Newbie 9 06-11-2002 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:14 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
Open Source Consulting | Domain Registration