sport >>
Web | Articles | News | Videos | Home
SPORT Web Results
 | What port should I open to allow remote desktop? - Server Fault
@BrianZ This is Windows 7/8/10 and to get there, just open Start Menu search for "Firewall" and click on "Advanced Settings" on the left-side panel, click on Inbound Rules on left-side panel and on the main panel find Remote Desktop - User Mode (TCP-In) and Remote Desktop - User Mode (UDP-In) and Allow edge traversal for both of them.
|
 | Drop ALL the TCP connections (ESTABLISHED,RELATED) in Ubuntu
Also mind the spaces between parenthesis): ss --kill -tn 'dst == 192.0.2.2 and ( sport == 80 or sport == 443 )' (or just the destination, it's about an attacker anyway). Unlike tcpkill this doesn't involve sending custom packets anywhere, it's directly done to the socket using a kernel API.
|
 | linux - iptables error: unknown option --dport - Server Fault
First give a -p option like -p tcp or -p udp. Examples: iptables -A INPUT -p tcp --dport 22 -m state --state NEW -j DROP iptables -A INPUT -p udp --dport 53 --sport 1024:65535 -j ACCEPT You could also try -p all but I've never done that and don't find too much support for it in the examples.
|
 | Allowing a route to/from network when there are multiple networks
Attempting to add the ip rule add for UDP because the system is hosting a webserver which uses UDP for downloading content it seems. ip rule add from 0.0.0.0/32 ipproto udp sport 8080 to 192.168.200.0/24 lookup 1000 Error: argument "ipproto" is wrong: Failed to parse rule type ip route get ipproto udp sport 8080 to 192.168.200.200 Error: any ...
|
 | What is the correct way to open a range of ports in iptables
What you've been told is right, although you've written it wrong (you've forgotten --dport). iptables -A INPUT -p tcp --dport 1000:2000 will open up inbound traffic to TCP ports 1000 to 2000 inclusive. -m multiport --dports is only needed if the range you want to open is not continuous, eg -m multiport --dports 80,443, which will open up HTTP and HTTPS only - not the ones in between. Note that ...
|
|