LinuxQuestions.org
Visit Jeremy's Blog.
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 09-30-2001, 02:24 PM   #1
sparkly
LQ Newbie
 
Registered: Sep 2001
Posts: 4

Rep: Reputation: 0
ipmasqadm troubleshooting


hey guys, i am attempingto forward some ports to some internal machines...here is my problem

i try:
ipmasqadm portfw -a -P tcp -L 65.3.162.48 5500 -R 192.168.0.10 5500
and i get:
portfw: setsockopt failed: Invalid argument
i also try:

ipmasqadm autofw -A -r tcp 5500 5500 -h 192.168.0.10 -v -u
and i get:
Adding autofwd tcp ports 5500 - 5500 to fixed host 192.168.0.10
autofw: setsockopt failed: Invalid argument

so my question is, how can i get it to work...

my kernel is 2.4.6-5

thanks,
josh
 
Old 09-30-2001, 10:12 PM   #2
sparkly
LQ Newbie
 
Registered: Sep 2001
Posts: 4

Original Poster
Rep: Reputation: 0
does anyone know?
 
Old 10-16-2001, 03:56 PM   #3
defwolf
LQ Newbie
 
Registered: Oct 2001
Posts: 1

Rep: Reputation: 0
Your kernel must be compiled with:
Config_Experimental=y
Config_IP_Masquerade=y
Config_IP_Masquerade_Mod=y
Config_IP_Masquerade_IPAutofw=y
Config_IP_Masquerade_IPPortfw=y
Config_IP_Masquerade_MFW=y
 
Old 10-16-2001, 04:49 PM   #4
sparkly
LQ Newbie
 
Registered: Sep 2001
Posts: 4

Original Poster
Rep: Reputation: 0
wow, 15 days later....thanks
 
Old 10-16-2001, 10:11 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Or you can switch to iptables
 
Old 10-16-2001, 11:55 PM   #6
sparkly
LQ Newbie
 
Registered: Sep 2001
Posts: 4

Original Poster
Rep: Reputation: 0
in the time it took to reply i went ahead and did that

hehe
 
  


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
Problems with ipmasqadm trinitor Linux - Networking 0 10-21-2003 05:05 AM
Probelms with IPMASQADM-0.4.2 on 2.2.20 Pauly Linux - Networking 1 03-12-2002 07:07 PM
problem with ipmasqadm Han_Solo Linux - Security 1 10-28-2001 10:37 AM
ipmasqadm yunde Linux - Newbie 1 07-10-2001 06:15 PM
installing ipmasqadm bouloss Linux - Networking 1 05-29-2001 07:56 AM

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

All times are GMT -5. The time now is 11:39 PM.

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