LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-22-2006, 08:50 AM   #1
aaf
LQ Newbie
 
Registered: Dec 2005
Location: Scotland
Distribution: Ubuntu & Debian
Posts: 12

Rep: Reputation: 0
Iptables Module Issue


I have a VDS server which I believe is a clean install of debian sarge and I have updated it. I'm trying to set an iptables rule so that requests on port 80 will redirect to port 8080 for tomcat but when I run...
Code:
iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
I get this response...
Code:
modprobe: QM_MODULES: Function not implemented

modprobe: QM_MODULES: Function not implemented

modprobe: Can't locate module ip_tables
iptables v1.2.11: can't initialize iptables table `nat': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
I was planning on following these recommendations but I'm stymied at the first hurdle.

Any advice much appreciated...
 
Old 12-23-2006, 07:52 AM   #2
aaf
LQ Newbie
 
Registered: Dec 2005
Location: Scotland
Distribution: Ubuntu & Debian
Posts: 12

Original Poster
Rep: Reputation: 0
Sorry for the bump, but I'm sure there is a simple answer for this...
 
Old 12-28-2006, 07:00 AM   #3
aaf
LQ Newbie
 
Registered: Dec 2005
Location: Scotland
Distribution: Ubuntu & Debian
Posts: 12

Original Poster
Rep: Reputation: 0
Anybody any idea what that response even means?
 
Old 01-04-2007, 07:45 AM   #4
aaf
LQ Newbie
 
Registered: Dec 2005
Location: Scotland
Distribution: Ubuntu & Debian
Posts: 12

Original Poster
Rep: Reputation: 0
>apt-get install module-init-tools
>update-modules

Fixed...
 
Old 01-04-2007, 10:04 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Thanks for posting your solution.
 
  


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
iptables module config swmok Linux - Networking 3 04-17-2005 08:42 AM
trouble with iptables module wazilian Linux - Networking 0 09-24-2004 02:55 PM
trouble with iptables module wazilian Linux - Networking 0 09-24-2004 02:55 PM
iptables module error? hotrodowner Linux - Networking 1 04-02-2003 08:07 AM
IPTABLES module won't load TruckStuff Linux - General 1 05-10-2002 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:31 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