Skip to content

Instantly share code, notes, and snippets.

@jedipunkz
Created August 11, 2013 02:30
Show Gist options
  • Save jedipunkz/6203132 to your computer and use it in GitHub Desktop.
Save jedipunkz/6203132 to your computer and use it in GitHub Desktop.
Vyatta Core 6.6 R1 をルータにして画像の表示が異様に遅い場合の対処
Vyatta Core 6.6 R1 を NAT, PPPOE ルータにして使っている時、画像ファイルの
表示が異様に遅い。6.5 くらいからこの症状が出ている模様。
下記の対処を行った結果、問題が改善された。
このように policy を記述し...
# show policy
route PPPOE-IN {
rule 10 {
destination {
address 0.0.0.0/0
}
protocol tcp
set {
tcp-mss 1360
}
tcp {
flags SYN,!ACK,!FIN,!RST
}
}
}
下記のように NAT 変換する interface 名にポリシを割り当てる。
# set interfaces ethernet eth0 policy route PPPOE-IN
# commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment