LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   why can i use the net under Win but not with FC4 using a smoothwall firewall? (https://www.linuxquestions.org/questions/linux-security-4/why-can-i-use-the-net-under-win-but-not-with-fc4-using-a-smoothwall-firewall-373496/)

Weedman 10-15-2005 10:35 PM

why can i use the net under Win but not with FC4 using a smoothwall firewall?
 
i made up a smoothwall firewall. configured Win XP and FC4 to the new settings. BUT only Win works with the net.???

Any help towards fixing this situation will be well appreciated. THIS is urget! I dont wanna use Windows any longer than i have to!

thanks
weed

fotoguy 10-16-2005 12:46 AM

Can you ping your smoothwall box or a host outside your network from FC4? Are you running DHCP server on the smoothwall box? What kind of network card are you running?

archtoad6 10-17-2005 10:53 AM

I have been running SmoothWall Express for over a year. Everything connected, well, smoothly (pun unintentional). Can you access the "Smoothie" from the Win box? I.e. the web based graphic admin facility.

If so, I may be able to compare mine w/ yours & help.

No one should be forced to use "Winders".

Weedman 10-19-2005 12:41 AM

i can access the smoothwall from both Fc4 and Win. Win is the only one which works with the net. I think that FC4 isnt detecting the gateway.

i got it working with a static ip address but not with chcp.

i really want to get FC4 to work with dhcp, cause it makes networking a hell of a lot easier.

thanks for your replies!

archtoad6 10-19-2005 07:46 AM

Quote:

static ip address but not with chcp
I think this is the key to your problem. Be patient, answer a few clarifying Q's, & I think this might be easily solved.


My Questions
Quote:

configured Win XP and FC4 to the new settings.
  1. What did that look like in FC4?
  2. What were you using before SmoothWall ?
  3. Please confirm that you are using SmoothWall Express, not the commercial version.
  4. Please post the results of "ifconfig".
  5. Have you tried starting DHCP manually on FC4? How?
  6. Which of the (at least) 3 DHCP clients does FC4 use?

Feel free to save space by answering by #. I think the most important Q's are last.

fotoguy 10-19-2005 05:37 PM

Also post the contents of your routing table, type:

route

At the command line, also when you install FC4 there is a SELinux option, this is supposed to be a very secure setting for FC4 but I have heard a few people have a lot of dramas getting things to work. If the setting is on which it is by default unless you turned it off, I wonder if it is not allowing the DHCP request so your not able to get an address from the server

archtoad6 10-20-2005 12:47 AM

Good point about SELinux. I don't usually work w/ FC4, so that slipped my mind.

fotoguy 10-20-2005 01:44 AM

Quote:

Originally posted by archtoad6
Good point about SELinux. I don't usually work w/ FC4, so that slipped my mind.
A friend pointed it out to me the other week when he installed FC4 and had dramas getting MySQL to work. He keeped getting errors and some of the commands by the command line would not work, they'd only work throught the GUI interface. Took him a while to fiqure it out, but once he disabled it, MySQL worked and was able to use the commands by the command line again.

archtoad6 10-20-2005 08:51 AM

Start w/ the SELinux, come back to my Q's.

Weedman 10-20-2005 10:21 PM

Quote:

1. What did that look like in FC4?
2. What were you using before SmoothWall ?
3. Please confirm that you are using SmoothWall Express, not the commercial version.
4. Please post the results of "ifconfig".
5. Have you tried starting DHCP manually on FC4? How?
6. Which of the (at least) 3 DHCP clients does FC4 use?
1. i dont get you. can you explain that more?
2. I was using nothing before smoothwall. Just a static ip.
3. yes it is smoothwall express.
4. no and i dont know how
5. i have no idea.

contents of route:
Code:

[root@localhost Chris]# route
bash: route: command not found

ok i did install SElinux, but i disabled it with the SElinux=0 or off in the kernel params.

fotoguy 10-21-2005 08:05 PM

Quote:

Originally posted by Weedman

contents of route:
Code:

[root@localhost Chris]# route
bash: route: command not found

ok i did install SElinux, but i disabled it with the SElinux=0 or off in the kernel params.

Route command not working, did you try the command after you disabled the SELinux? You should get something similiar to this:

[root@www root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default gateway.linuxcl 0.0.0.0 UG 0 0 0 eth0

archtoad6 10-22-2005 07:18 AM

7: (New Q)
Quote:

i made up a smoothwall firewall. configured Win XP and FC4 to the new settings. BUT only Win works with the net.???
does this mean that FC4 was installed & working before you added the "Smoothie"?

Now the old ones:

5 & 6:
See my previous post: DHCP clients in Linux which I have just revised to be as close as possible to my final word on the subject. It does assume you know how to get to a command line, either an "old-fashioned" console or a terminal in X. If you need me to, I can find out how to do that in Gnome (FC4).

4:
Open a CLI (command line), preferably a terminal in Gnome, & type "ifconfig" (actually "ifco<TAB>" should do it). You should see something like this:
Code:

$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0A:E6:88:83:82
          inet addr:192.168.sss.hhh  Bcast:192.168.sss.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:119782 errors:0 dropped:0 overruns:0 frame:0
          TX packets:100460 errors:0 dropped:0 overruns:0 carrier:0
          collisions:39 txqueuelen:1000
          RX bytes:124706847 (118.9 MiB)  TX bytes:11317021 (10.7 MiB)
          Interrupt:5 Base address:0xdc00

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:736 errors:0 dropped:0 overruns:0 frame:0
          TX packets:736 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:81397 (79.4 KiB)  TX bytes:81397 (79.4 KiB)


Now drag the mouse over the portion you want to copy, goto to your post, put the cursor where you want the text inserted, & middle click. Whatever you highlighted in the (X) terminal will be copied at the point where the cursor was located when you pressed the middle mouse button. My apologies if you already knew this, but I'm adding it just in case you don't; besides it might help someone else.

2 & 3:
Answered, thanks.

1:
Deferred, my curiousity -- probably not necessary to solve the problem.


All times are GMT -5. The time now is 04:32 PM.