oflyhigh
cn
5y
每天进步一点点: 将node.js 应用绑定到80端口的方法
历尽千辛万苦,我终于将node.js的应用运行了起来,看起来貌似一切正常的样子。 可是新的问题来了,别人的网站都直接可以通过域名访问,并且一般都是80或者443(HTTPS)端口,而我这个是8080端口又是怎么回事?又该如何解决呢? (图源 :pixabay) 直接换端口的方式肯定是行不通的啦,因为Linux下是不允许普通用户应用绑定特权端口(0至1023)的,那就要想别的方法了。 iptables转发
$ 14.871
140
3
bustillo
dlike
6y
Top 10 October must-reads: Microsoft Access alternatives, iptables tricks, Min, functional programming in Python, and more | Opensource.com
We've rounded up our top 10 articles from the past month. Source of shared Link
$ 0.103
10
2
oflyhigh
iptables
6y
每天进步一点点: Linux普通用户下程序绑定特权端口(iptables转发)
我在Linux的普通用户下运行一组程序,想让其中的一个程序监听1024以下的端口,结果运行程序提示权限不足,无法绑定端口。 (图源 :pixabay) 难道需要我把这组程序复制到root用户下,以root权限执行?那这样的话,为了安全我特意搞了个普通用户岂不是就没有意义了。 想了想,最简单的办法就是使用iptables转发啦,执行下列指令即可: sudo iptables -t nat -A PREROUTING
$ 35.297
126
3
1
djsmoke
iptables
6y
Besser filtern mit IP Tables
Iptables installieren: Auf dem Betriebssystem muss iptables installiert sein. Die Installation von iptables starten sie mit dem folgenden Befehl: Um einen Zugriff einer bestimmten IP auf den gesamten Linux
$ 0.077
8
8
1
elvisw
debian
6y
Debian系统iptables防火墙规则保存
#iptables规则保存(Debian) root身份登陆 iptables-save > /etc/iptables touch /etc/network/if-pre-up.d/iptables chmod +x /etc/network/if-pre-up.d/iptables nano /etc/network/if-pre-up.d/iptables 将以下内容粘贴至iptables文件中
$ 0.000
1
highland0971
cn
7y
基于无预置IP list的GFW IP解锁方法
在以往的基于路由、iptables解锁GFW IP封锁的方法中,均需要一份国内或国外的IP地址列表,然后进行策略路由。基于这种方案的解锁,需要人工去维护一张IP地址列表,其中基于chnroutes方案生成的国内IP地址列表就有8000多条记录,在加载的时候会比较耗时,同时给路由器带来一定负担。本文给出一种基于无IP列表的自动IP访问监测及路由更变策略。 1.
$ 0.000
0
ivenwang
iptables
7y
海外通过香港ECS访问大陆应用网站(iptables转发网站、中继)
利用阿里云香港ECS让海外用户流畅的访问大陆应用网站 直接上命了,不废话了 大陆服务器IP地址139.222.222.222端口7070 阿里云香港ECS内网IP172.31.1.123 iptables -t nat -A PREROUTING -d 172.31.1.123 -p tcp --dport 80 -j DNAT --to-destination 139.222.222.222:7070
$ 0.000
1
ah101
technology
7y
The firewall of Linux: IPTables
If you own a Linux server, you know how important securing it is. A server is available to the whole world, when it's connected to the internet, and soon bad guys will try to break in. Without a firewall
$ 0.023
3
1
skysparrow
linux
7y
linux iptables 설명
iptables 란? iptables는 리눅스상에서 방화벽을 설정하는 도구로서 커널 2.4 이전 버전에서 사용되던 ipchains를 대신하는 방화벽 도구이다. iptables는 커널상에서의 netfilter 패킷필터링 기능을 사용자 공간에서 제어하는 수준으로 사용할 수 있다. 패킷필터링이란 지나가는 패킷의 해더를 보고 그 전체 패킷의 운명을 결정하는 것을 말한다.
$ 0.000
1
2
zhanmusi
steemit
8y
Super Fast Steemit Connection by Blocking Suspicious IPs Connecting to my Computer while using Steemit Full List and Connection Details
I've been watching my connection, as usual, and I noticed some strange addresses that keep coming up. Some of them are new but a few I have seen before. When I block these addresses it actually enhances
$ 0.038
13
1
Top communities