Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
prerouting DNAT
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 265

PostPosted: Tue Dec 02, 2014 5:50 am    Post subject: prerouting DNAT Reply with quote

hallo zusammen,

warum das ist passiert?
Ich habe SNAT gute arbeit rule.
Aber DNAT ist kaput.
Code:
#arbeit
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 192.168.0.130 -s 192.168.101.0/24

# nicht arbeit
iptables -A FORWARD -i eth0 -d 192.168.101.11 -j ACCEPT
iptables -t nat -A PREROUTING -p tcp -d 192.168.0.155 -j DNAT --to-destination 192.168.101.11
iptables -t nat -A PREROUTING -p tcp -d 192.168.0.130 --dport 5900 -j DNAT --to-destination 192.168.101.11:5900

Ich have nicht mehr rules im iptables, nur Ich schaumall.
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 265

PostPosted: Wed Dec 03, 2014 12:35 pm    Post subject: Reply with quote

hallo,
jemand weiß das?
warum das ist passiert?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum