Fedora 25のSelinuxではpptp VPNに接続できません。

Fedora 25のSelinuxではpptp VPNに接続できません。

私は現在イギリスの外にいて、Fedora 25で無料のイギリスベースのSpotifyアカウントにログインする必要があります。 Spotifyは韓国ではサポートされていません。

私は多くの無料のPPTP UK VPNサービスを試してみましたが、他のディストリビューションでは動作しますが、Fedoraでは動作しません。 1分だけログイン認証するだけで、それ以降はVPNを使用しないため、有料VPNを購入したくありません。

Fedoraに尋ねると、証明書を使用する必要がありますが、PPTPは証明書を提供しません。

私が検索できる唯一のエラーメッセージは次のとおりです。

SELinux is preventing systemd from create access on the unix_stream_socket Unknown.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that systemd should be allowed create access on the Unknown unix_stream_socket by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'systemd' --raw | audit2allow -M my-systemd
# semodule -X 300 -i my-systemd.pp

Additional Information:
Source Context                system_u:system_r:init_t:s0
Target Context                system_u:system_r:unconfined_service_t:s0
Target Objects                Unknown [ unix_stream_socket ]
Source                        systemd
Source Path                   systemd
Port                          <Unknown>
Host                          localhost.localdomain
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-224.fc25.noarch selinux-
                              policy-3.13.1-225.3.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     localhost.localdomain
Platform                      Linux localhost.localdomain 4.8.6-300.fc25.x86_64
                              #1 SMP Tue Nov 1 12:36:38 UTC 2016 x86_64 x86_64
Alert Count                   3
First Seen                    2017-01-10 18:13:12 EET
Last Seen                     2017-01-10 18:13:12 EET
Local ID                      5c7e9912-af2e-480b-944c-09466a765d3f

Raw Audit Messages
type=AVC msg=audit(1484064792.751:301): avc:  denied  { create } for  pid=1 comm="systemd" scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=unix_stream_socket permissive=0


Hash: systemd,init_t,unconfined_service_t,unix_stream_socket,create

ベストアンサー1

問題が解決しました。この男私にくださいこのリンク

firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 0 -p gre -j ACCEPT
firewall-cmd --permanent --direct --add-rule ipv6 filter INPUT 0 -p gre -j ACCEPT
firewall-cmd --reload
modprobe nf_conntrack_pptp nf_conntrack_proto_gre

おすすめ記事