当前位置:网站首页>Kali implements port forwarding through iptables
Kali implements port forwarding through iptables
2022-06-12 18:41:00 【RemoteDev】
1. If not installed iptables, Install first
sudo apt-get install iptables2. Start the system IP Forward capability

3. The successful startup is as follows

4. start-up nat modular
iptables -t nat -A POSTROUTING -j MASQUERADE
Startup can be performed in POSTROUTING See... In the passage

5. add to 80 And 443 Port forward to 8080
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080
sudo iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-ports 8080
边栏推荐
- GD32F4xx控制DGUS触控按键
- 用一个性能提升了666倍的小案例说明在TiDB中正确使用索引的重要性
- The Bean Validation API is on the classpath but no implementation could be found
- 国内如何下载ProxyStrike
- Analyzing mobx responsive refresh mechanism from source code
- Gd32f4xx communicates with electric energy meter conforming to dlt645_ two
- Review of MySQL (4): sorting operation
- 从应无所住说起
- Free measurement of rectangular card [manual drawing ROI] Based on Halcon
- Title 68: there are n integers, so that the previous numbers are moved backward m positions, and the last m numbers become the first m numbers
猜你喜欢

Go init initialization function

VirtualLab basic experiment tutorial -4 Single slit diffraction

从应无所住说起

基于halcon—缺陷检测常用方法与示例总结

Topic 66: input array, exchange the largest element with the first element, exchange the smallest element with the last element, and output array.

A story on the cloud of the Centennial Olympic Games belonging to Alibaba cloud video cloud

Hash hash

论大型政策性银行贷后,如何数字化转型 ?-亿信华辰

Review of MySQL (I): go deep into MySQL

kali局域网ARP欺骗(arpspoof)并监听(mitmproxy)局域内其它主机上网记录
随机推荐
被八股文害惨了。。。
MySQL数据库(28):变量 variables
Problems that the sap Spartacus e-commerce cloud UI shipping method does not display in the unit test environment
Leetcode topic [string]-541- reverse string II
Installation and configuration of window version pytorch entry depth learning environment
C language practice (4) -- multiplication and division of large numbers
C language learning -- data storage in memory
C语言练习(4)——大数乘除
CEPH deploy offline deployment of CEPH cluster and error reporting FAQ
Virtual Lab Basic Experiment tutoriel - 4. Diffraction à fente unique
【sql语句基础】——查(select)(单表查询)
Gd32f4xx communicates with electric energy meter conforming to dlt645_ two
Gospel of audio and video developers, rapid integration of AI dubbing capability
Vue —— 进阶 vue-router 路由(二)(replace属性、编程式路由导航、缓存路由组件、路由的专属钩子)
Summary of static memory allocation and dynamic memory allocation
2022.6.12-----leetcode.890
Common methods and examples of defect detection based on Halcon
Gospel of audio and video developers, rapid integration of AI dubbing capability
Adjust CEPH cluster image source
国内如何下载ProxyStrike