Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem configuring shorewall with aliased interfaces
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
xso
n00b
n00b


Joined: 17 Aug 2003
Posts: 33

PostPosted: Sun Dec 21, 2003 2:23 pm    Post subject: Problem configuring shorewall with aliased interfaces Reply with quote

Hello there,

I have problems to configure shorewall with the following configuration: I have a router (192.168.2.1), connected to ADSL, a workstation (192.168.2.4) and a development server (192.168.2.2). The workstation and the server have one network card, connected to the router. What I'm trying to do on the server (192.168.2.2) is to open ports 22, 80 and 443 for the workstation only. All requests from somewhere else should be dropped. As the server has only one network card, I need to do something like Aliased interfaces (http://www.shorewall.net/Shorewall_and_Aliased_Interfaces.html).

Does anyone knows how to do that, as I was unable to achieve this using the shorewall documentation?

Thanks you very much in advance.

xso
Back to top
View user's profile Send private message
xso
n00b
n00b


Joined: 17 Aug 2003
Posts: 33

PostPosted: Sun Dec 21, 2003 3:12 pm    Post subject: Reply with quote

ok, I found it. It was as easy as adding:
net:192.168.2.4 in the shorewall/rules file.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum