Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iptables question
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
aray
n00b
n00b


Joined: 15 Feb 2003
Posts: 67

PostPosted: Thu Jan 27, 2005 10:25 am    Post subject: iptables question Reply with quote

Hi Everyone,

Is it possible to masq two private network interfaces, through a public one -

eg.

eth0 = public ip
eth1 = private ip
tun0 = private ip

(I want eth1 and tun0 to both be able to masq at the same time, through eth0). I have read through lots of documents, but I couldn't find anything like this?

Any advice greatly appreciated :)

Thanks,
Andrew.
Back to top
View user's profile Send private message
nemo_
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 167
Location: Brussels, Belgium

PostPosted: Thu Jan 27, 2005 10:31 am    Post subject: Reply with quote

well, why not ? :)

just put two NAT rules in there, should work fine.
Back to top
View user's profile Send private message
aray
n00b
n00b


Joined: 15 Feb 2003
Posts: 67

PostPosted: Thu Jan 27, 2005 10:35 am    Post subject: Reply with quote

cheers,

thanks, will test :)
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