?
Solved

nat on Linux

Posted on 2000-05-15
4
Medium Priority
?
245 Views
Last Modified: 2008-02-26
Hi !
I`m trying to use ipnatadm, in order to translate addresses on Linux. But when I type :
ipnatadm -O -i -S 192.168.0.57/32 -M 200.241.244.1/32

I receive the following error : setsockopt failed:protocol not available.

Do you know why it happens ?
Thanks !
0
Comment
Question by:ptenuta
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Accepted Solution

by:
Debber earned 300 total points
ID: 2811223
Download and install the ip-masquerading and ipchains modules, enable ip-forwarding and insert ipchains-rules into rc.firewall I'd recommend Robert Ziegler's site (and book "Linux Firewalls", New Riders) More info on: http://linux-firewall-tools.com/linux/ Succes!

0
 

Expert Comment

by:aramo
ID: 2812856
1st excellent ref to linux-firewall-tools by Debber - thank you. It even includes cook-book scriptes if you need them.

IPCHAINS-Howto & IP-Masquerading covers the topic well - as setup depends on kernel I suggest you read the Howtos or post more info.

0
 

Expert Comment

by:Gnomus
ID: 2816451
check kernel for masquerading support
0
 

Author Comment

by:ptenuta
ID: 2816894
I´ve made it with ipchains . Thank you very much !
0

Featured Post

Python: Series & Data Frames With Pandas

Learn the basics of Python’s pandas library of series & data frames and how we can use these tools for data manipulation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Suggested Courses
Course of the Month8 days, 8 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question