The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 RE: ipnat port forwarding not working
Author: Dan Langille 
Date:   14-08-00 22:13

I think your NAT rules are incorrect. Here are mine:

map ed0 192.168.0.0/24 -> 0.0.0.0/32 portmap tcp/udp 40000:65000
map ed0 192.168.0.0/24 -> 0.0.0.0/32

Just use 0.0.0.0/32 instead of your public IP. Make sure your NAT rules are before your rdr rules.

As for rdr, they also appear to be incorrect. Here is one of mine:

rdr ed0 192.168.1.1/32 port 80 -> 192.168.0.78 port 80

Note the lack of a mention of protocol.

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 ipnat port forwarding not working   new
Marco Raposo 14-08-00 12:55 
 RE: ipnat port forwarding not working   new
Dan Langille 14-08-00 22:13 
 RE: ipnat port forwarding not working   new
Stu 17-08-00 13:35 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org