Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to permit a specify host with IP address to use Full Cone NAT? #21

Open
angusding opened this issue Dec 11, 2018 · 2 comments
Open

Comments

@angusding
Copy link

For example, LAN IP segment: 192.168.0.0/24
Only permit the host 192.168.0.11 to use Full Cone NAT and the others use MASQUERADE.

@angusding angusding changed the title How to specify the hostl with IP address to use Full Cone NAT? How to permit a specify host with IP address to use Full Cone NAT? Dec 11, 2018
@Chion82
Copy link
Owner

Chion82 commented Dec 11, 2018

-s 192.168.0.11 -j FULLCONENAT
and ! -s 192.168.0.11 -j MASQUERADE ?

@angusding
Copy link
Author

Only use that in POSTROUTING chain? Don't need in PREROUTING chain?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants