Port forwarding for Mohammed Ziani
This commit is contained in:
parent
624c7142fa
commit
dd2d811d49
1 changed files with 6 additions and 0 deletions
6
nat.nft
6
nat.nft
|
@ -25,6 +25,12 @@ table ip nat {
|
|||
chain prerouting {
|
||||
type nat hook prerouting priority 0;
|
||||
ip saddr $range_prerezotage ip daddr != { $intranet, $comnpay, $website } tcp dport {http,https} dnat $bounce_server;
|
||||
|
||||
# Serveur de Mohammed Ziani
|
||||
meta iif $if_supelec ip daddr $ip_self_public tcp dport 51000 counter dnat to 10.69.3.116:22
|
||||
meta iif $if_supelec ip daddr $ip_self_public tcp dport 51001 counter dnat to 10.69.3.116:80
|
||||
meta iif $if_supelec ip daddr $ip_self_public tcp dport 51002 counter dnat to 10.69.3.116:443
|
||||
|
||||
#ip saddr @radius_federez ip daddr $ip_self_public tcp dport { 636, 389 } dnat $ip_radius;
|
||||
#ip saddr @radius_federez ip daddr $ip_self_public udp dport { 636, 1812 } dnat $ip_radius;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue