Re: Accessing Red Hat Network from a computer in a LAN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2003-02-27 at 18:35, Alimin Bijosono Oei wrote:
> http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworkGateway.html. It is
> working so I use it. Here it is:
> #!/bin/sh
> 
> iptables --flush                                               # - Flush
> all the rules in filter and nat tables
> iptables --table nat --flush
> iptables --delete-chain                                        # -
> Delete all chains that are not in default filter and nat table
> iptables --table nat --delete-chain
> 
> # Set up IP FORWARDing and Masquerading
> iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE
> iptables --append FORWARD --in-interface eth0 -j ACCEPT        # -
> Assuming one NIC to local LAN
> 
> echo 1 > /proc/sys/net/ipv4/ip_forward                         # -
> Enables packet forwarding by kernel
> 
> I actually use the rhn applet and it just shows the circle with grey
> background colour and a white question mark on top of it. Clicking on it
> gives the error message "Network Error 111: Connection refused".
> 
-----
I'm just gonna guess at this but I think that you need to support
ip_nat_ftp

/sbin/insmod ip_nat_ftp
/sbin/insmod ftp_conntrack_ftp

Insert it near the top of the ruleset

Craig



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux