View previous topic :: View next topic |
Author |
Message |
stillman Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/19835627663fa03425b9de9.gif)
Joined: 07 Dec 2002 Posts: 223 Location: Vienna, Austria
|
Posted: Mon May 12, 2003 12:14 am Post subject: /proc/sys/net/ipv4/conf/all/forwarding missing... |
|
|
after starting my firewall with '/etc/init.d/iptables start' i get the error-message:'/sbin/runscript.sh: line 30: /proc/sys/net/ipv4/conf/all/forwarding: No such file or directory'
this directory really isn't existing(the error-message comes from /etc/init.d/iptables) - as far as my linux knowledge reaches yet, this directory will be created when the required option in the kernel-config is activated, right? after some hours of restless searching i've come to the point where i don't seem to get further, can someone may give me a slap so i see the light?
p.s.:and i guess i can't simply turn of ip_forwarding since i need the iptables for my NAT... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
stillman Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/19835627663fa03425b9de9.gif)
Joined: 07 Dec 2002 Posts: 223 Location: Vienna, Austria
|
Posted: Tue May 13, 2003 1:05 am Post subject: |
|
|
come on, just because the question is to easy for you... ![Crying or Very sad :cry:](images/smiles/icon_cry.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
barlad l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/135629013340bb28ae939e4.jpg)
Joined: 22 Feb 2003 Posts: 673
|
Posted: Tue May 13, 2003 5:02 am Post subject: |
|
|
Hey there.
I think you have to allow forwarding through sysctl. For that, you need to compile both forwarding support in the kernel and sysctl. That should solve it. The /proc/sys/net/ipv4/conf/all/forwarding should be created when sysctl & forwarding support are enabled in the kernel.
After that you can echo 1 to enable forwarding and your firewall should be set. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
stillman Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/19835627663fa03425b9de9.gif)
Joined: 07 Dec 2002 Posts: 223 Location: Vienna, Austria
|
Posted: Tue May 13, 2003 3:00 pm Post subject: |
|
|
i'm sorry, this is exactly my problem - i can't find the option for forwarding in my menuconfig... may someone cram my nose on it so i see it? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Swishy Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/cb611b7e3d2c65aa08fdc.jpg)
Joined: 06 Jun 2002 Posts: 491 Location: NZ
|
Posted: Sat May 17, 2003 9:24 am Post subject: |
|
|
stillman wrote: | i'm sorry, this is exactly my problem - i can't find the option for forwarding in my menuconfig... may someone cram my nose on it so i see it? |
Networking Options > Network packet filtering > IP Tunneling
You ll also need to setup stuff in IP: Netfilter Configuration >
Read the help text to work out which options you need enabled .....
Cheers
Dale. _________________ Theres no substitute for C.I. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|