random ports blocked on client's firewall when mounting nfs share - why?
up vote
0
down vote
favorite
Could you help me, how can I prevent this?
Every time, when I mount an nfs share, I see 6-7 blocked packets in the client's firewall log. These packets come from and to random tcp ports, but they are the same at every mount.
For example, after this command:
mount -t nfs server:/logs /logs
I see in the firewall log/journalctl output:
nov 16 15:46:22 machine kernel: [UFW BLOCK] IN=wlp1s0 OUT= MAC=<mac addresses> SRC=<NFS server's IP> DST=<client's IP> LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=34612 DF PROTO=TCP SPT=695 DPT=37123 WINDOW=29200 RES=0x00 SYN URGP=0i
repeated 6 times.
After umounting, then mounting it again, I see:
nov 16 16:16:18 machine kernel: [UFW BLOCK] IN=wlp1s0 OUT= MAC=<mac addresses> SRC=<NFS server's IP> DST=<client's IP> LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=54001 DF PROTO=TCP SPT=915 DPT=37123 WINDOW=29200 RES=0x00 SYN URGP=0
repeated 6 times again.
Etc.
First of all: why? What the NFS server wants from my client? And how can I fix it (to use the same port every time)?
linux networking firewall mount nfs
add a comment |
up vote
0
down vote
favorite
Could you help me, how can I prevent this?
Every time, when I mount an nfs share, I see 6-7 blocked packets in the client's firewall log. These packets come from and to random tcp ports, but they are the same at every mount.
For example, after this command:
mount -t nfs server:/logs /logs
I see in the firewall log/journalctl output:
nov 16 15:46:22 machine kernel: [UFW BLOCK] IN=wlp1s0 OUT= MAC=<mac addresses> SRC=<NFS server's IP> DST=<client's IP> LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=34612 DF PROTO=TCP SPT=695 DPT=37123 WINDOW=29200 RES=0x00 SYN URGP=0i
repeated 6 times.
After umounting, then mounting it again, I see:
nov 16 16:16:18 machine kernel: [UFW BLOCK] IN=wlp1s0 OUT= MAC=<mac addresses> SRC=<NFS server's IP> DST=<client's IP> LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=54001 DF PROTO=TCP SPT=915 DPT=37123 WINDOW=29200 RES=0x00 SYN URGP=0
repeated 6 times again.
Etc.
First of all: why? What the NFS server wants from my client? And how can I fix it (to use the same port every time)?
linux networking firewall mount nfs
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Could you help me, how can I prevent this?
Every time, when I mount an nfs share, I see 6-7 blocked packets in the client's firewall log. These packets come from and to random tcp ports, but they are the same at every mount.
For example, after this command:
mount -t nfs server:/logs /logs
I see in the firewall log/journalctl output:
nov 16 15:46:22 machine kernel: [UFW BLOCK] IN=wlp1s0 OUT= MAC=<mac addresses> SRC=<NFS server's IP> DST=<client's IP> LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=34612 DF PROTO=TCP SPT=695 DPT=37123 WINDOW=29200 RES=0x00 SYN URGP=0i
repeated 6 times.
After umounting, then mounting it again, I see:
nov 16 16:16:18 machine kernel: [UFW BLOCK] IN=wlp1s0 OUT= MAC=<mac addresses> SRC=<NFS server's IP> DST=<client's IP> LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=54001 DF PROTO=TCP SPT=915 DPT=37123 WINDOW=29200 RES=0x00 SYN URGP=0
repeated 6 times again.
Etc.
First of all: why? What the NFS server wants from my client? And how can I fix it (to use the same port every time)?
linux networking firewall mount nfs
Could you help me, how can I prevent this?
Every time, when I mount an nfs share, I see 6-7 blocked packets in the client's firewall log. These packets come from and to random tcp ports, but they are the same at every mount.
For example, after this command:
mount -t nfs server:/logs /logs
I see in the firewall log/journalctl output:
nov 16 15:46:22 machine kernel: [UFW BLOCK] IN=wlp1s0 OUT= MAC=<mac addresses> SRC=<NFS server's IP> DST=<client's IP> LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=34612 DF PROTO=TCP SPT=695 DPT=37123 WINDOW=29200 RES=0x00 SYN URGP=0i
repeated 6 times.
After umounting, then mounting it again, I see:
nov 16 16:16:18 machine kernel: [UFW BLOCK] IN=wlp1s0 OUT= MAC=<mac addresses> SRC=<NFS server's IP> DST=<client's IP> LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=54001 DF PROTO=TCP SPT=915 DPT=37123 WINDOW=29200 RES=0x00 SYN URGP=0
repeated 6 times again.
Etc.
First of all: why? What the NFS server wants from my client? And how can I fix it (to use the same port every time)?
linux networking firewall mount nfs
linux networking firewall mount nfs
asked 2 days ago
user895804
12
12
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376041%2frandom-ports-blocked-on-clients-firewall-when-mounting-nfs-share-why%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown