Networking Forums

Networking Forums > Computer Networking > Linux Networking > configuring a routing proxy

Reply
Thread Tools Display Modes

configuring a routing proxy

 
 
bubzilla
Guest
Posts: n/a

 
      10-17-2006, 12:11 PM
Hi

im trying to configure an Proxy in my Network, but somehow it doesn´t
work.
First here is my network:


--- Client (XP) ---
IP: 129.168.100.5
m: 255.255.255.0
gw: 192.168.100.10

connected with Proxy gw: 129.168.10.10 (eth0)


--- Proxy (Fedora) ---
eth0
IP: 192.168.100.50
m: 255.255.255.0

eth1
IP: 129.168.10.10
m: 255.255.255.0

--- Server (XP) ---
IP:192.168.100.3
m:255.255.255.0
gw: 192.168.100.1


--- Router to Internet ---
IP: 192.168.100.1
m: 255.255.255.0


Proxy with eth0, the Server and the Router are connected with a switch.
The Client is just connected with the proxy on eth1.

Now here is what i want:
I want mainly to configure the proxy so i can forward the ip querys
like a ping to192.168.100.3, so that it is routed by the proxy to the
server and the answer back to the client.
So i aktivated ip_forward by: echo 1 > /proc/sys/net/ipv4/ip_forward

and added 2 routes:
route add -net 129.168.10.0 netmask 255.255.255.0 gw 192.168.100.10
route add -net 192.168.100.0 netmask 255.255.255.0 gw 129.168.10.10

I thought this should make it, but somehow it doesn´t.
So where is my mistake ???

Can someone help me? Do you need more information about my network?!

 
Reply With Quote
 
 
 
 
bubzilla
Guest
Posts: n/a

 
      10-17-2006, 12:20 PM
sry made a mistake, it should be this way:

--- Client (XP) ---
IP: 129.168.10.5
m: 255.255.255.0
gw: 129.168.10.10
connected with Proxy gw: 129.168.10.10 (eth0)

 
Reply With Quote
 
bubzilla
Guest
Posts: n/a

 
      10-17-2006, 04:11 PM
got it !

on the proxy ip_forward has just to be set to 0.
no routes need to be added

 
Reply With Quote
 
Jeroen Geilman
Guest
Posts: n/a

 
      10-17-2006, 07:18 PM
bubzilla wrote:
> got it !
>
> on the proxy ip_forward has just to be set to 0.
> no routes need to be added
>


...sure, but that effectively means you don't need to use the proxy.

Nice bit of self-discussion, though


J.
 
Reply With Quote
 
 
 
Reply

Thread Tools
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring Routing and Remote Access Julian Windows Networking 1 12-01-2007 09:39 PM
Routing to ISA proxy Kirsten Windows Networking 1 01-17-2006 02:54 PM
Configuring cygwin for use with corporate proxy Martin Gill Linux Networking 1 11-23-2004 03:18 PM
Routing tables and configuring gw john Linux Networking 4 02-22-2004 10:03 AM
Configuring a Proxy Server bleep Windows Networking 0 10-06-2003 09:45 AM



1 2 3 4 5 6 7 8 9 10 11