LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   shorewall problem DNAT (https://www.linuxquestions.org/questions/linux-networking-3/shorewall-problem-dnat-351532/)

masand 08-09-2005 11:34 AM

shorewall problem DNAT
 
hi there

i was looking to correct the erros that i am doing

this is what i want to do

there are 3 machines

A- client machine
B- firewall
C -real proxy


all of them are on same network
now i have setup B as the proxy for A and at B i have used DNAT to specify to forward all requests to machine C on its proxy

i have these settings in my rules file for shorewall at B

DNAT lan lan:<ip of C>:3128 tcp

DNAT fw lan:<ip of C>:3128 tcp

the second rule which is for the firewall i.e B works fine i.e i can access the internet fine from B using B''s IP as my proxy server which forwards this to C

but other machines like A cannot connect to C wioth B's IP
they can connect if they cpecify C's IP in their proxy settings

i have the ACCEPT policy for all in my policy file

any thing that i need to check???

regards

rioguia 08-10-2005 04:31 PM

Have you looked at /sbin/shorewall status ?
 
Have you looked at /sbin/shorewall status ?

Try making the connection that is failing.
#

/sbin/shorewall status > /tmp/status.txt
#

If you post the /tmp/status.txt file, someone may be able to help you.

masand 08-10-2005 09:09 PM

thaks for the tip

will surely do that ASAP

masand 08-11-2005 11:53 AM

well

there was a mistake in the addressing scheme in my case
got that correct stil the same problem

but i got my setup working with ethernet bridging
from
bridge.sourceforge.net


All times are GMT -5. The time now is 06:27 PM.