Skip to content

Commit

Permalink
Update README.md: 优化配置文件格式和添加webui说明
Browse files Browse the repository at this point in the history
  • Loading branch information
arloor committed Oct 21, 2024
1 parent 9733c38 commit ab00421
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-----------------------------------------------------------------

## 基于nftables的端口转发管理工具

用途:便捷地设置nat流量转发
Expand Down Expand Up @@ -96,7 +94,7 @@ systemctl restart nat

**配置文件说明**

`/etc/nat.conf`如下:
`/etc/nat.conf` 如下:

```$xslt
SINGLE,49999,59999,baidu.com
Expand Down Expand Up @@ -133,6 +131,10 @@ nft delete table ip nat
systemctl disable nat
```

## webui

感谢 @C018 贡献的[webui](webui/README.md)

## 致谢

1. [解决会清空防火墙的问题](https://github.com/arloor/nftables-nat-rust/pull/6)
Expand Down Expand Up @@ -174,10 +176,3 @@ cat /opt/nat/nat.log
journalctl -exfu nat
```

## 联系

[Telegram](https://t.me/popstary)

## 赏个鸡腿吧

<img src="/wechat_shoukuan.jpg" alt="" width="400px" style="max-width: 100%;">
Binary file removed wechat_shoukuan.jpg
Binary file not shown.

0 comments on commit ab00421

Please sign in to comment.