[SuSE Linux] masq help
sorry I lost the original message and my user accound wouldnt let me read in the rc.config so... Im not sure if this helps you but it works on my network where it says FW_WORLD_DEVICE would be your modem/dialout nic the FW_LOCALNETS is the suse machine the masqed boxes are 192.68.1.0 read the suse 5.3 manual gives you an idea what the settings mean.Also Ive added a few lines re ipfwadm to start masq /sbin/init.d/masquerade start <or> stop to start the fw /sbin/init.d/firewall start <or> stop when the masq is done sucesfully you get a "spoofing friends done..." when the fw is executed properly you get a message in german saying in effect "its started" ;-) of course YMMV on the w95 box make sure the nic adapter properties has ip address <its own ip adress on the network> wins config <disabled> gateway <the suse box running the masq> that should do it rob ######################################################################## # /etc/rc.config # # Firewall settings - See /usr/doc/packages/firewall # for a detailed description # FW_START="yes" FW_LOCALNETS="192.68.1.9" FW_FTPSERVER="" FW_WWWSERVER="" FW_SSLSERVER="" FW_SSLPORT="" FW_MAILSERVER="" FW_DNSSERVER="" FW_NNTPSERVER="" FW_NEWSFEED="198.69.10.4" FW_WORLD_DEV="/dev/ttyS0" FW_INT_DEV="eth0" FW_LOG_ACCEPT="no" FW_LOG_DENY="yes" FW_ROUTER="" FW_FRIENDS="yes" FW_INOUT="yes" FW_SSH="no" FW_TRANSPROXY_OUT="" FW_TRANSPROXY_IN="" FW_REDIRECT="" FW_TCP_LOCKED_PORTS="1:1023" FW_UDP_LOCKED_PORTS="1:1023" # ipfwadm -F -p deny ipfwadm -F -a m -S 192.68.1.0/24 -D 0.0.0.0/0 # allow all other outgoing traffic ipfwadm -O -a accept -W $/dev/ttyS0 -S $ 192.68.1.9 #Refuse spoofed packets pretending to be to of from and external address ipfwadm -I -a deny -o -W $/dev/ttyS0 -S $ 192.68.1.9 ipfwadm -O -a deny -o -W $/dev/ttyS0 -D $ 192.68.1.9 ipfwadm -F -a masquerade -W $/dev/ttyS0 -S $ 192.68.1.0 # #Masquerading settings - #masq MSQ_START="yes" MSQ_NETWORKS="192.68.1.0" MSQ_DEV="eth0" MSQ_MODULES="ip_masq_cuseeme ip_masq_ftp ip_masq_irc ip_masq_quake ip_masq_raudio ip_masq_vdolive" # #################################################################### Bookmarks <A HREF="http://www.connix.com/~dizzy73/LBM.htm"><A HREF="http://www.connix.com/~dizzy73/LBM.htm</A">http://www.connix.com/~dizzy73/LBM.htm</A</A>> Powered By S.u.S.E 5.3 #__________________________________________________________________________# - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (1)
-
root@connix.com