Re: [SLE] triple boot
From: Adinda Praditya <adind@link.net.id> Date: Fri, 29 Dec 2000 05:29:53 +0700 Message-Id: <00122905320100.00692@linux> Subject: Re: [SLE] triple boot On Tue, 26 Dec 2000, Cliff Sarginson wrote:
On Tue, Dec 26, 2000 at 10:28:23PM +0700, Adinda Praditya wrote:
Hi,...
I'd like to make triple boot with lilo. I added my /etc/lilo.conf with --- other2 = /dev/hda12 ^^^^^^^^
No no, all "other" os'es are "other" "other" just means non-linux, it not a label. change it to "other" and lilo won;t winge...
Cliff
-- So, lilo can't be set for triple boot? I meant 1 linux, and others are non-unix. Abdulmalik bin Hilman bin Mahyuddin ----------------------------------- Verily! Allah grasps the heavens and the earth lest they should move away from their places, and if they were to move away from their places, there is noe one that could grasp them after Him. Truly, He is Ever Most Forbearing, Oft-Forgiving. (Al-Fathir : 41) a Black Hole?
Date: Thu, 28 Dec 2000 21:27:57 -0800 (PST) From: Greg Thomas <ethant@pacificnet.net> Message-ID: <Pine.LNX.4.21.0012282125260.6548-100000@hominy.2fortheroad.net> Subject: Re: [SLE] triple boot On Fri, 29 Dec 2000, Adinda Praditya wrote:
On Tue, 26 Dec 2000, Cliff Sarginson wrote:
On Tue, Dec 26, 2000 at 10:28:23PM +0700, Adinda Praditya wrote:
Hi,...
I'd like to make triple boot with lilo. I added my /etc/lilo.conf with --- other2 = /dev/hda12 ^^^^^^^^
No no, all "other" os'es are "other" "other" just means non-linux, it not a label. change it to "other" and lilo won;t winge...
Cliff --
So, lilo can't be set for triple boot? I meant 1 linux, and others are non-unix.
Yes, just make a couple of "other"s. I believe it's the label that sets them apart. other = /dev/hda3 label = win2000 other = /dev/hda4 label = winnt Greg
From: "anthony cagle" <acagle@zilker.net> Date: Fri, 29 Dec 2000 11:53:19 -0600 Message-ID: <IBECKPFNJODELCENPLLIEEBJCEAA.acagle@zilker.net> Subject: ipmasqadm portfw question Happy New Year! I am trying to get port forwarding working on a 6.4 SMP system without success. This system has been configured for several months to do IP Masquerading between a cable modem and a small internal network. FTP, ICQ and all of the rest of the services available have worked with no problem. Recently, I wanted to move the web server which is currently on the IP Masquerading box to another machine on the internal network. I read all the documentation I could find, including the PORTFW mini howto and the howto's and package docs on ipchains, firewalls and ipmasqadm. It looked very simple. But for some reason I cannot get it to work. I'm beginning to wonder if perhaps the default 6.4 SMP config kernel doesn't really support the PORTFW function or perhaps there's something else obvious I'm missing. I've included examples of my configuration, config files and output below. Thanks, Anthony Cable Modem to Internet | |---------------| eth1 |www.subimo.com | IP assigned by cable compay DHCP | | old web server resided here (port 80) eth0 |192.168.1.1 | |---------------| | | ---------------------- internal network | | |-------------| eth0 | 192.168.1.2 | | new web | | server (80) | |-------------| I've used Ethereal to capture all the packet traffic off eth0 (192.168.1.1) on the firewall machine, and no packets are being sent to the other machine(192.168.1.2) when I try to connect from a computer outside the firewall. Inside the firewall, the server is working (ie, http://192.168.1.1 gets a page sent back). Here are the commands I'm using to configure the machine for portfw: #! /bin/sh ipchains --flush ipchains -I forward -p tcp -s 192.168.1.2/32 80 -j MASQ ipchains -P forward DENY ipchains -A forward -s 192.168.1.0/24 -j MASQ ipmasqadm portfw -f ipmasqadm portfw -a -P tcp -L subimo.myip.org 80 -R 192.168.1.2 80 <p>Here's the response I get from: ipchains -L Chain input (policy ACCEPT): Chain forward (policy DENY): target prot opt source destination ports MASQ tcp ------ 192.168.1.2 anywhere http -> any MASQ all ------ 192.168.1.0/24 anywhere n/a Here's the response I get from: ipmasqadm portfw -l Chain output (policy ACCEPT): prot localaddr rediraddr lport rport pcnt pref TCP subimo.myip.org 192.168.1.2 http http 10 10 and finally, here's the response I get from: lsmod Module Size Used by ip_masq_portfw 3012 1 (autoclean) tulip 30784 1 (autoclean) eepro100 15364 1 (autoclean) serial 43860 0 (autoclean) memstat 1480 0 (unused) aic7xxx 118648 6 So everything looks good. Any ideas?
Date: Fri, 29 Dec 2000 17:30:50 -0600 From: "Kurt R. Rahlfs" <kurtrr@computer.org> Message-id: <3A4D1EAA.98763B54@computer.org> Subject: Re: [SLE] ipmasqadm portfw question I have a similar set up and it works fine. I din't notice that you enabled port forwarding in your code, ex: echo 1 > /proc/sys/net/ipv4/pi_forward I tried a few simple ipchain scripts with sucess but when I tried to make them so they were secure I couln't get them to work so I tried some packages. The one that I use now is pmfirewall. Kurt <p>anthony cagle wrote:
Happy New Year!
I am trying to get port forwarding working on a 6.4 SMP system without success. This system has been configured for several months to do IP Masquerading between a cable modem and a small internal network. FTP, ICQ and all of the rest of the services available have worked with no problem.
Recently, I wanted to move the web server which is currently on the IP Masquerading box to another machine on the internal network. I read all the documentation I could find, including the PORTFW mini howto and the howto's and package docs on ipchains, firewalls and ipmasqadm. It looked very simple. But for some reason I cannot get it to work. I'm beginning to wonder if perhaps the default 6.4 SMP config kernel doesn't really support the PORTFW function or perhaps there's something else obvious I'm missing.
I've included examples of my configuration, config files and output below. Thanks, Anthony
Cable Modem to Internet | |---------------| eth1 |www.subimo.com | IP assigned by cable compay DHCP | | old web server resided here (port 80) eth0 |192.168.1.1 | |---------------| | | ---------------------- internal network | | |-------------| eth0 | 192.168.1.2 | | new web | | server (80) | |-------------|
I've used Ethereal to capture all the packet traffic off eth0 (192.168.1.1) on the firewall machine, and no packets are being sent to the other machine(192.168.1.2) when I try to connect from a computer outside the firewall. Inside the firewall, the server is working (ie, http://192.168.1.1 gets a page sent back).
Here are the commands I'm using to configure the machine for portfw:
#! /bin/sh ipchains --flush ipchains -I forward -p tcp -s 192.168.1.2/32 80 -j MASQ ipchains -P forward DENY ipchains -A forward -s 192.168.1.0/24 -j MASQ ipmasqadm portfw -f ipmasqadm portfw -a -P tcp -L subimo.myip.org 80 -R 192.168.1.2 80
Here's the response I get from: ipchains -L Chain input (policy ACCEPT): Chain forward (policy DENY): target prot opt source destination ports MASQ tcp ------ 192.168.1.2 anywhere http -> any MASQ all ------ 192.168.1.0/24 anywhere n/a
Here's the response I get from: ipmasqadm portfw -l Chain output (policy ACCEPT): prot localaddr rediraddr lport rport pcnt pref TCP subimo.myip.org 192.168.1.2 http http 10 10
and finally, here's the response I get from: lsmod Module Size Used by ip_masq_portfw 3012 1 (autoclean) tulip 30784 1 (autoclean) eepro100 15364 1 (autoclean) serial 43860 0 (autoclean) memstat 1480 0 (unused) aic7xxx 118648 6
So everything looks good. Any ideas?
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Message-ID: <3A4F6A50.5EB43673@iname.com> Date: Sun, 31 Dec 2000 17:18:08 +0000 From: Chris Reeves <chris.reeves@iname.com> Subject: Re: [SLE] ipmasqadm portfw question anthony cagle wrote:
I am trying to get port forwarding working on a 6.4 SMP system without success. This system has been configured for several months to do IP Masquerading between a cable modem and a small internal network. FTP, ICQ and all of the rest of the services available have worked with no problem.
Recently, I wanted to move the web server which is currently on the IP Masquerading box to another machine on the internal network. I read all the documentation I could find, including the PORTFW mini howto and the howto's and package docs on ipchains, firewalls and ipmasqadm. It looked very simple. But for some reason I cannot get it to work. I'm beginning to wonder if perhaps the default 6.4 SMP config kernel doesn't really support the PORTFW function or perhaps there's something else obvious I'm missing.
This is how I initially tried to do this, but I gave up (perhaps too quickly - I'll investigate again later). What I did was install and configure rinetd - it's incredibly simple to do. In fact I did it in about 3 minutes, just before going out (since I need to access an internal web server from the place I was going to)...
I've included examples of my configuration, config files and output below. Thanks, Anthony
Cable Modem to Internet | |---------------| eth1 |www.subimo.com | IP assigned by cable compay DHCP | | old web server resided here (port 80) eth0 |192.168.1.1 | |---------------| | | ---------------------- internal network | | |-------------| eth0 | 192.168.1.2 | | new web | | server (80) | |-------------|
I've used Ethereal to capture all the packet traffic off eth0 (192.168.1.1) on the firewall machine, and no packets are being sent to the other machine(192.168.1.2) when I try to connect from a computer outside the firewall. Inside the firewall, the server is working (ie, http://192.168.1.1 gets a page sent back).
Here are the commands I'm using to configure the machine for portfw:
#! /bin/sh ipchains --flush ipchains -I forward -p tcp -s 192.168.1.2/32 80 -j MASQ ipchains -P forward DENY ipchains -A forward -s 192.168.1.0/24 -j MASQ ipmasqadm portfw -f ipmasqadm portfw -a -P tcp -L subimo.myip.org 80 -R 192.168.1.2 80
Here's the response I get from: ipchains -L Chain input (policy ACCEPT): Chain forward (policy DENY): target prot opt source destination ports MASQ tcp ------ 192.168.1.2 anywhere http -> any MASQ all ------ 192.168.1.0/24 anywhere n/a
Here's the response I get from: ipmasqadm portfw -l Chain output (policy ACCEPT): prot localaddr rediraddr lport rport pcnt pref TCP subimo.myip.org 192.168.1.2 http http 10 10
and finally, here's the response I get from: lsmod Module Size Used by ip_masq_portfw 3012 1 (autoclean)
Bye, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\
From: "W.D.McKinney" <deem@wdm.com> Date: Sun, 31 Dec 2000 11:30:55 -0900 Message-ID: <NEBBKNMAELGHIHMNKLMBIEDJCAAA.deem@wdm.com> Subject: RE: [SLE] ipmasqadm portfw question I use the following with success: # ipmasqadm autofw -A -r tcp 80 80 -h 192.168.xxx.xxx -----Original Message----- From: chris@scooby.lineone.net [mailto:chris@scooby.lineone.net]On Behalf Of Chris Reeves Sent: Sunday, December 31, 2000 8:18 AM To: acagle@subimo.com; SuSE Mailing List Subject: Re: [SLE] ipmasqadm portfw question <p>anthony cagle wrote:
I am trying to get port forwarding working on a 6.4 SMP system without success. This system has been configured for several months to do IP Masquerading between a cable modem and a small internal network. FTP, ICQ and all of the rest of the services available have worked with no problem.
Recently, I wanted to move the web server which is currently on the IP Masquerading box to another machine on the internal network. I read all
the
documentation I could find, including the PORTFW mini howto and the howto's and package docs on ipchains, firewalls and ipmasqadm. It looked very simple. But for some reason I cannot get it to work. I'm beginning to wonder if perhaps the default 6.4 SMP config kernel doesn't really support the PORTFW function or perhaps there's something else obvious I'm missing.
I've included examples of my configuration, config files and output below. Thanks, Anthony
Cable Modem to Internet | |---------------| eth1 |www.subimo.com | IP assigned by cable compay DHCP | | old web server resided here (port 80) eth0 |192.168.1.1 | |---------------| | | ---------------------- internal network | | |-------------| eth0 | 192.168.1.2 | | new web | | server (80) | |-------------|
I've used Ethereal to capture all the packet traffic off eth0 (192.168.1.1) on the firewall machine, and no packets are being sent to the other machine(192.168.1.2) when I try to connect from a computer outside the firewall. Inside the firewall, the server is working (ie, http://192.168.1.1 gets a page sent back).
Here are the commands I'm using to configure the machine for portfw:
#! /bin/sh ipchains --flush ipchains -I forward -p tcp -s 192.168.1.2/32 80 -j MASQ ipchains -P forward DENY ipchains -A forward -s 192.168.1.0/24 -j MASQ ipmasqadm portfw -f ipmasqadm portfw -a -P tcp -L subimo.myip.org 80 -R 192.168.1.2 80
Here's the response I get from: ipchains -L Chain input (policy ACCEPT): Chain forward (policy DENY): target prot opt source destination ports MASQ tcp ------ 192.168.1.2 anywhere http -> any MASQ all ------ 192.168.1.0/24 anywhere n/a
Here's the response I get from: ipmasqadm portfw -l Chain output (policy ACCEPT): prot localaddr rediraddr lport rport pcnt
This is how I initially tried to do this, but I gave up (perhaps too quickly - I'll investigate again later). What I did was install and configure rinetd - it's incredibly simple to do. In fact I did it in about 3 minutes, just before going out (since I need to access an internal web server from the place I was going to)... pref
TCP subimo.myip.org 192.168.1.2 http http 10 10
and finally, here's the response I get from: lsmod Module Size Used by ip_masq_portfw 3012 1 (autoclean)
I tried portwf on Red Hat and SuSE systems and never found a way to make it work. I use the mfw modules instead. They work as I expected after reading the docs. HTH, Jeffrey Quoting Chris Reeves <chris.reeves@iname.com>:
anthony cagle wrote:
I am trying to get port forwarding working on a 6.4 SMP system without success. This system has been configured for several months to do IP Masquerading between a cable modem and a small internal network. FTP, ICQ and all of the rest of the services available have worked with no problem.
Recently, I wanted to move the web server which is currently on the IP Masquerading box to another machine on the internal network. I read all the documentation I could find, including the PORTFW mini howto and the howto's and package docs on ipchains, firewalls and ipmasqadm. It looked very simple. But for some reason I cannot get it to work. I'm beginning to wonder if perhaps the default 6.4 SMP config kernel doesn't really support the PORTFW function or perhaps there's something else obvious I'm missing.
This is how I initially tried to do this, but I gave up (perhaps too quickly - I'll investigate again later). What I did was install and configure rinetd - it's incredibly simple to do. In fact I did it in about 3 minutes, just before going out (since I need to access an internal web server from the place I was going to)...
I've included examples of my configuration, config files and output below. Thanks, Anthony
Cable Modem to Internet | |---------------| eth1 |www.subimo.com | IP assigned by cable compay DHCP | | old web server resided here (port 80) eth0 |192.168.1.1 | |---------------| | | ---------------------- internal network | | |-------------| eth0 | 192.168.1.2 | | new web | | server (80) | |-------------|
I've used Ethereal to capture all the packet traffic off eth0 (192.168.1.1) on the firewall machine, and no packets are being sent to the other machine(192.168.1.2) when I try to connect from a computer outside the firewall. Inside the firewall, the server is working (ie, http://192.168.1.1 gets a page sent back).
Here are the commands I'm using to configure the machine for portfw:
#! /bin/sh ipchains --flush ipchains -I forward -p tcp -s 192.168.1.2/32 80 -j MASQ ipchains -P forward DENY ipchains -A forward -s 192.168.1.0/24 -j MASQ ipmasqadm portfw -f ipmasqadm portfw -a -P tcp -L subimo.myip.org 80 -R 192.168.1.2 80
Here's the response I get from: ipchains -L Chain input (policy ACCEPT): Chain forward (policy DENY): target prot opt source destination ports MASQ tcp ------ 192.168.1.2 anywhere http -> any MASQ all ------ 192.168.1.0/24 anywhere n/a
Here's the response I get from: ipmasqadm portfw -l Chain output (policy ACCEPT): prot localaddr rediraddr lport rport pcnt pref TCP subimo.myip.org 192.168.1.2 http http 10 10
and finally, here's the response I get from: lsmod Module Size Used by ip_masq_portfw 3012 1 (autoclean)
Bye, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (7)
-
acagle@zilker.net
-
adind@link.net.id
-
chris.reeves@iname.com
-
deem@wdm.com
-
ethant@pacificnet.net
-
Jeffrey Taylor
-
kurtrr@computer.org