Skip to content

Conversation

@noroutine
Copy link

Summary

Spent some day intensively scratching my head why i cannot access private network, just to find out the policy in iptables blocking the traffic

noroutine and others added 3 commits July 18, 2024 08:55
Hint for iptables default FORWARD chain policy
If you are setting up WARP Connector on a host with iptables enabled, you have to make sure that iptables FORWARD chain includes the rules to accept the desired traffic.
For testing/troubleshooting purposes you can set default policy of the chain to ACCEPT
```sh
iptables --policy FORWARD ACCEPT
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we update this to be specific to the interface used by WARP?

Suggested change
iptables --policy FORWARD ACCEPT
iptables -A FORWARD -i CloudflareWARP -J ACCEPT
iptables -A FORWARD -o CloudflareWARP -J ACCEPT

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added to #16486

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DevinCarr not sure it add any meaningful value

For quick setup, just toggling policy should do, for anything more complicated it will vary and surely go beyond two rules on interface - if someone has iptables it sure as hell is complex and specific, plus forwarding would likely not be limited to just one interface. IF to put this into docs it should be a separate section covering firewalls imo

@KimJ15
Copy link
Collaborator

KimJ15 commented Sep 27, 2024

👋Hi there, we’re going to close this PR. All PRs prior to August 12 need to be reworked due to the platform migration to Astro.

@KimJ15 KimJ15 closed this Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants