Routing

This is a discussion on Routing within the Linux Security forums, part of the System Security and Security Related category; Hi Folks, I have configured linux proxy server in kernel 2.4 (Redhat Linux 9). I had 2 network cards.....


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-28-2006
pandi
 
Posts: n/a
Default Routing

Hi Folks,

I have configured linux proxy server in kernel 2.4 (Redhat Linux 9).


I had 2 network cards..One is connected to lan other one is goes
through the firewall..


I can ping the dns ip. dig nslookup worked successfully for all sites.
But I can t able to access the websites through squid. Squid is working
fine.

that is I created routes for external network.. through rc.local.

Evenafter rebbooting the routes are not appear in IP Routing
Table.(route -n)

>From lan I cannot access the internet..


But if I configure one DMZ ip in my lan..I can access all websites...I
think the routing entry is problem..


This is scenario..


2 network cards..one for internal other for external..Both connected to
Lan switch...

Lan switch is connected to Internet Switch ...Internet switch connected
to firewall..firewall...


How to update kernel routing tables( I had done in
/etc/init.d/rc.local...but not in effect)

Reply With Quote
  #2 (permalink)  
Old 11-28-2006
Bill Marcum
 
Posts: n/a
Default Re: Routing

On 28 Nov 2006 10:09:53 -0800, pandi
<k.pandi.k@gmail.com> wrote:
> Hi Folks,
>
> I have configured linux proxy server in kernel 2.4 (Redhat Linux 9).
>
>
> I had 2 network cards..One is connected to lan other one is goes
> through the firewall..
>
>
> I can ping the dns ip. dig nslookup worked successfully for all sites.
> But I can t able to access the websites through squid. Squid is working
> fine.
>
> that is I created routes for external network.. through rc.local.
>
> Evenafter rebbooting the routes are not appear in IP Routing
> Table.(route -n)
>
>>From lan I cannot access the internet..

>

Do you have IP forwarding turned on?
echo 1 > /proc/sys/net/ipv4/ip_forward


--
The world is not octal despite DEC.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:11 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0