Networking Forums

Networking Forums > Computer Networking > Linux Networking > newbie, shorewall question

Reply
Thread Tools Display Modes

newbie, shorewall question

 
 
ifarkas
Guest
Posts: n/a

 
      05-29-2008, 04:50 PM
Hello,

I have two computers: A.my.edu (IP address: 1.2.3.1) and B.my.edu
(1.2.3.46). Both A and B are connected to the Internet, but B accepts
incoming packages only from A. (Its shorewall drops packages from
sources other than A).

Whenever a request arrives at port 8123 of A, I would like A to send
it to port 80 of B, then B should reply to the request as it would to
any other request to its port 80, send the reply back to A and then A
should send the reply back to the source.

After inserting this line into the file /etc/shorewall/rules of A

DNAT net loc:1.2.3.46:80 tcp 8123 - 1.2.3.4

and pointing my browser at http://A.my.edu:8123 ,
* I get a "(111) Connection refused" error from server A and
* I can see no new line in the apache2 log file of server B (i.e., B
did not receive the request).

Could you please suggest how I should proceed? Thanks a lot in
advance.

best wishes,
illes

 
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
Wi-Fi Newbie Question gmark99@gmail.com Wireless Internet 2 08-14-2008 10:34 PM
LINUX/shorewall firewall to firewall VPN question sundog@mountaindogs.net Linux Networking 3 03-14-2006 04:04 PM
Newbie Question David Richards Wireless Internet 1 11-28-2005 03:17 PM
Another Newbie Question Mitchua Wireless Internet 2 05-02-2004 03:12 PM
Newbie Question - WEP Eyman Wireless Internet 1 07-28-2003 12:39 PM



1 2 3 4 5 6 7 8 9 10 11