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 Allow Protocol 47? #30

Closed
bismall opened this issue Jul 25, 2015 · 2 comments
Closed

How to Allow Protocol 47? #30

bismall opened this issue Jul 25, 2015 · 2 comments

Comments

@bismall
Copy link

@bismall bismall commented Jul 25, 2015

iptables
iptables -A INPUT -p tcp --dport 1723 -j ACCEPT
iptables -A INPUT -p 47 -j ACCEPT

firewalld
firewall-cmd --permanent --zone=public --add-port=1723/tcp
Protocol 47 NOT port 47

I hope to increase PPTP VPN firewall rules on /config/services/
http://poptop.sourceforge.net/dox/gre-protocol-unavailable.phtml

Kind regards,
我又得跑路了

@bismall bismall changed the title How to Allow GRE/47? How to Allow GRE/47?Protocol 47 NOT port 47 Jul 25, 2015
@bismall bismall changed the title How to Allow GRE/47?Protocol 47 NOT port 47 How to Allow GRE/47? Jul 25, 2015
@bismall bismall changed the title How to Allow GRE/47? How to Allow Protocol 47? Jul 25, 2015
@t-woerner

This comment has been minimized.

Copy link
Collaborator

@t-woerner t-woerner commented Jul 29, 2015

Please have a look at the new protocols branch: https://github.com/t-woerner/firewalld/tree/protocols

@t-woerner t-woerner added this to the firewalld-0.3.15 milestone Jul 30, 2015
@t-woerner

This comment has been minimized.

Copy link
Collaborator

@t-woerner t-woerner commented Jul 30, 2015

Right now this is possible with a rich rule only:
firewall-cmd [--permanent] [--zone=X] --add-rich-rule='rule protocol value="47" accept'

With the commit above this is also possible without a rich rule. This will be part of the next firewalld release.

@t-woerner t-woerner closed this Jul 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.