- $lbl label: "Active mode is the best choice when this computer is connected directly to the internet" wrap: y
- $radio label: "Active with specified _port" var: y name: mode_nat group: mode_act
+ $lbl markup: "<i>Active mode is the best choice when this computer is connected directly to the internet.</i>" wrap: y align: "0:0.5" wpad: "20:0"
+ $radio label: "Active with specified _port" var: y name: mode_nat group: mode_act sig: toggled
+ :vbox sensitive: FALSE var: y name: portbox
+ :hbox spacing: 10
+ $mlbl label: "_TCP port:" mwidget: tcpport
+ $text name: tcpport var: y fill: y expand: y sig(changed): cb_ast_checkports
+ $mlbl label: "_UDP port:" mwidget: udpport
+ $text name: udpport var: y fill: y expand: y sig(changed): cb_ast_checkports
+ end
+ :hbox spacing: 10
+ $mlbl label: "_IP address:" mwidget: extip
+ $text name: extip var: y fill: y expand: y sig(changed): cb_ast_checkports
+ end
+ end
+ $lbl markup: "<i>Specify a port when this computer is behind a NAT router or similar. You will also need to configure your NAT router to forward that port to this computer, and specify what external IP address to use.</i>" wrap: y align: "0:0.5" wpad: "20:0"