[ale] home networking difficulties

Andrew Grimmke grimmke at directvinternet.com
Wed Aug 28 06:54:10 EDT 2002


On Tue, 27 August 2002, Geoffrey wrote:

> 
> What's the value of /proc/sys/net/ipv4/ip_forward ??

The value is 1

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

still no luck

> Andrew Grimmke wrote:
> Hi folks,
>  
> For those who have been following along in my saga of
> networking heartache, I have news.
>  
> I can ping!  Yes, You heard me right.  I CAN PING!
>  
> I went looking for different drivers for my NIC.  One
> of them did the trick. 
>  
> Thats the good news.  The bad news is that IP
> forwarding/masquerading does not seem to be working.
>  
> I have added networking and IP forwarding to
> etc/sysconfig/network file.
>  
> NETWORKING=yes
> HOSTNAME='shakedown'
> FORWARD_IPV4=yes
>  
> I added ip forwarding to the etc/sysctl.conf file
>  
> # Controls IP packet forwarding
> net.ipv4.ip_forward = 1
> net.ipv4.ip_always_defrag = 1
>  
> # Controls source route verification
> net.ipv4.conf.default.rp_filter = 1
>  
> I added ip masquerading to /etc/rc.d/rc.local
>  
> # 1) Flush the rule tables.
>    /sbin/ipchains -F input
>    /sbin/ipchains -F forward
>    /sbin/ipchains -F output
> # 2) Set the MASQ timings and allow packets in for
> DHCP configuration.
>   /sbin/ipchains -M -S 7200 10 60
>   /sbin/ipchains -A input -j ACCEPT -i eth0 -s 0/0 68
-d 0/0 67 -p udp
> # 3) Deny all forwarding packets except those from
> local network.
> #    Masquerage those.
>   /sbin/ipchains -P forward DENY
>   /sbin/ipchains -A forward -s 192.168.1.0/24 -j MASQ
> # 4) Load forwarding modules for special services.
>   /sbin/modprobe ip_masq_ftp
>   /sbin/modprobe ip_masq_raudio
>  
> did I do something wrong?  Is there anything I missed?
>  
>  Thanks,
>  Andrew
>  
>  Andrew Grimmke
>  Marietta, Georgia
>  
>  ---

> Until later: Geoffrey		esoteric at 3times25.net
> 
> I didn't have to buy my radio from a specific company
> to listen
> to FM, why doesn't that apply to the Internet
> (anymore...)?

Andrew Grimmke
Marietta, Georgia

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list