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

[FEATURE] Add iptables rule in program #2

Open
RaspberryTech01 opened this issue Aug 7, 2021 · 1 comment
Open

[FEATURE] Add iptables rule in program #2

RaspberryTech01 opened this issue Aug 7, 2021 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@RaspberryTech01
Copy link
Contributor

Is your feature request related to a problem? Please describe.
On a fresh system and running the program from source, the iptables rule that is required to allow data to client is not present.
Users can connect to the VPN and send data but no data is received. To mitigate this the iptables rule is required.
Describe the solution you'd like
Implement sudo iptables -t nat -A POSTROUTING -o enp0s3 -j MASQUERADE into the program.
enp0s3 needs to be the correct interface such as eth0, eth1, enp1s3 etc.

Describe alternatives you've considered
Creating a .sh file which runs the command and then starts the program up.

@RaspberryTech01 RaspberryTech01 self-assigned this Aug 7, 2021
@RaspberryTech01 RaspberryTech01 added bug Something isn't working enhancement New feature or request labels Aug 7, 2021
@RaspberryTech01 RaspberryTech01 linked a pull request Aug 8, 2021 that will close this issue
@RaspberryTech01 RaspberryTech01 removed a link to a pull request Aug 8, 2021
@RaspberryTech01
Copy link
Contributor Author

Put on low priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant